Skip to main content
Known Participant
Aug 9, 2024 6:21 PM UTC
Question

Go through the effects of a text layer and move all secondary keyframes to the second to last frame

Is there code that could search through all the keyframes of a layer and push whatever secondary keyframes it finds to the second to last frame of the duration of the clip?

This topic is closed to new replies. Start a new post to keep the conversation going.

7 replies

Known Participant
Aug 10, 2024 3:47 AM UTC

Or you can just set expressions with inPoint and outPoint of each property and copy and paste the effect onto other layers.

ease(time,inPoint,outPoint,3.0,10)

 

Translate
Known Participant
Aug 10, 2024 3:50 AM UTC
Legend
Aug 10, 2024 4:12 AM UTC

In reality, all the answers are in the scripting guides:

After Effects Scripting Guide 

After Effects Expression Reference 

 

If you want to manipulate layers using a script, go to the layers section,

and you will find all the parameters that you can read or modify.

Translate
Known Participant
Aug 9, 2024 7:41 PM UTC

Another setup that would be just helpful, is if you could select all the keyframes of a layer and have the first set of keyframes move to the biginning of the clip and the second set to find the second to last frame.

Translate
Known Participant
Aug 9, 2024 8:40 PM UTC

okay, i think i can just settle for tapping "u" twice to show all the keyframes for a layer and then just copy and paste the keyframes to a new layer and playhead time ...that will be good enough.

Translate