Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions [Scripting] How to copy all keyframes from one property to another?

  • [Scripting] How to copy all keyframes from one property to another?

  • Adirai Maji

    May 4, 2020 at 11:16 pm

    I want to copy the keyframes of one property and paste it on another property or same property of another layer using extendscript. How to do that?

    Thanks in advance.

    ==================================================================================================
    Thanks in Advance…

    – Adirai Maji

  • Dan Ebberts

    May 4, 2020 at 11:41 pm

    As far as I know, there’s no easy way to do it. You have to create a new keyframe, and copy all the attributes from the original keyframe. It’s somewhat complicated, but you may be able to find some good examples out there.

    Dan

  • Scott McGee

    May 6, 2020 at 7:59 am

    https://www.seventy75five.com/public/misc/multicopy.jsx

    It copies and pastes to the same layer. But if you tweak it. This should do the trick.

  • Tomas Bumbulevičius

    May 16, 2020 at 1:48 pm

    Hey Dan, just curious – what is the actual complexity in your opinion, that does not allow copying keyframes and pasting them directly with scripting? Why all the ‘keyframes stuff’ is required to deal with?

    Adirai, what you could try to do – is select all keyframes, and trigger app.executeCommand with copy/paste value. But of course, this might work only in cases where GUI is applicable.

    Keep in mind that by selecting these and triggerring the copying, then you need to deselect, make selection of other property active, etc.

    Find out more:
    Motion Graphics Design & After Effects Tutorials
    On YT
    On VH

Viewing 1 - 4 of 4 posts

Log in to reply.

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