Forum Replies Created

Page 1 of 2
  • Sebastian Moreno

    June 27, 2023 at 11:52 am in reply to: AE Script undo steps

    Could be.. I am looking into that!!

  • Sebastian Moreno

    May 13, 2021 at 12:27 pm in reply to: Script request, reveal in timeline

    I was looking for the same script but didn’t find something similar so I wrote a quick and dirty solution. Works only with custom paths and creates a keyframe at current time (can be removed with further code)

    function Path() {
    var selectedLayers = app.project.activeItem.selectedLayers;
    for (var x = selectedLayers.length - 1; x >= 0; x--) {
    var currentLayer = selectedLayers[x];
    var Path = currentLayer.property("ADBE Root Vectors Group").property("ADBE Vector Group").property("ADBE Vectors Group").property("ADBE Vector Shape - Group").property("ADBE Vector Shape")
    Path.selected = true;
    app.executeCommand(2701);
    app.executeCommand(2387);
    }
    }
    Path();
  • Sebastian Moreno

    February 5, 2018 at 8:41 pm in reply to: Delete Selected Keyframes via script

    Hi Walter
    Thank you so much. That worked wonderfully, Indexes are now doing good. Still after I delete the key-frames of a property the selection is lost.

    for (var x = selectedLayers.length – 1; x >= 0; x–) {

    var currentLayer = selectedLayers[x];
    var SelectedProp = currentLayer.selectedProperties;

    for (var i = SelectedProp.length – 1; i >= 0; i–) {

    var currentProp = SelectedProp[i];
    var keySelection = currentProp.selectedKeys;

    for (var k = keySelection.length – 1; k >= 0; k–) {

    currentProp.removeKey(keySelection[k]);
    }
    }
    }

    Any ideas what may be the issue

  • Sebastian Moreno

    February 1, 2018 at 11:04 am in reply to: Delete Selected Keyframes via script

    Hi Walter
    I am stuck.

    I tried looping backwards for everything, one by one (all first, or comp and the property and vice-versa) nothing seemed to work. Just forwards and as you said the index changes.
    To see If i am doing something wrong I tried removing layers something super basic:

    for ( var i = selectedLayers.length ; i != 0 ; i–) {
    selectedLayers[i].remove();
    }

    and also

    for ( var i = selectedLayers.length ; i > 0 ; i–) {
    selectedLayers[i].remove();
    }

    This does not work. Is after having a bug ? IT WORKS when operand i =1 and of course it wont remove one of the selected.

    any ideas why is this happening when looping backwards.

  • Sebastian Moreno

    December 21, 2017 at 1:54 pm in reply to: Delete Selected Keyframes via script

    Thank you Mark
    I checked the script, I love how he approaches the issue. But there is no selected keys option. That is why I am doing it.

    I will try what Walter said, hopefully it will work for all selected keyframes no matter how many properties and layers are selected.

    Thanks!!

  • Sebastian Moreno

    November 3, 2017 at 11:08 pm in reply to: Storing Keyframes

    Yes Dave you just said it, it is s a very specialized field and it is necessary to animate at precise given times. Thanks for the concern

  • Sebastian Moreno

    November 3, 2017 at 6:01 pm in reply to: Storing Keyframes

    its to move keys to a specific time in milliseconds,secs or frames.. the button is connected to a calculator that will adjust to the frame rate and you would be able to move to any desired time and then move the selected keys to that specific time.
    I finding myself with doing that hundreds of time and having to calculate a given time in milisecs from frames and move keys from multiple layers . This will save an incredible amount of time, instead of selecting frames from one layer then go to time input field time +/- the time frames or milisecs and then pasting them and now for the rest off the layers.

  • Sebastian Moreno

    November 3, 2017 at 4:11 pm in reply to: Storing Keyframes

    Hi Dave
    I doing a script to remove selected keys… it is actually to move keys, so what it does until now is copy and paste selected the keys with the interpolation but after I need to delete the selected keys but I only know the removeKey() utility, and after effects deselects the keys after deleting one. If there is something like cut and paste keyframes via script that would solve all.

    Thanks

  • Sebastian Moreno

    May 15, 2017 at 7:57 pm in reply to: ExtendScript – Image to Binary

    Hi
    here there is a good script for it

    https://aescripts.com/export-to-bytes/

  • Sebastian Moreno

    July 7, 2016 at 5:43 pm in reply to: Add keyframe on current Time

    Ohhh Mike thank you
    I didn’t know about this active syntax and the combination of addKey and setValue.

    Brilliant.
    Thanks again

Page 1 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy