- 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
- 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.
- May 6, 2020 at 7:59 am
It copies and pastes to the same layer. But if you tweak it. This should do the trick.
- 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.
Log in to reply.