Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Storing Keyframes

  • Storing Keyframes

    Posted by Sebastian Moreno on November 3, 2017 at 2:39 pm

    Hi everyone,
    I am still learning, does anyone know how to store selected keyframes so I can delete them afterwards. I have tried arrays but I am missing something. This is the simplified version:

    var keySelection = property.selectedKeys;

    for (i = keySelection[0]; i < keySelection.length; i++) {
    property.removeKey(i)
    }

    Thanks
    Sebastian

    Sebastian Moreno replied 8 years, 9 months ago 1 Member · 3 Replies
  • 3 Replies
  • Sebastian Moreno

    November 3, 2017 at 4:11 pm

    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

    November 3, 2017 at 6:01 pm

    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 11:08 pm

    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

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