Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Beginner ,
Aug 09, 2024 Aug 09, 2024

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?Screenshot 2024-08-09 141730.png

TOPICS
Scripting
421
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 09, 2024 Aug 09, 2024

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 09, 2024 Aug 09, 2024

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 09, 2024 Aug 09, 2024
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 09, 2024 Aug 09, 2024
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 09, 2024 Aug 09, 2024

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 09, 2024 Aug 09, 2024
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Aug 09, 2024 Aug 09, 2024
LATEST

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.

screenshot.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines