Script to time stretch a layer

What type of scripts do you need?

Moderator: byronnash

Post Reply
ashithraj
Posts: 5
Joined: March 3rd, 2009, 4:10 am

I am working on an automation script which involves time stretching a layer. Sure, I can use the "stretch" attribute to stretch the layer concerned. But, the requirement says the script has to time stretch with the Hold By option set to "Current frame" where my current frame will be set to the 0th frame of the composition.
If I do this via the After Effects UI I am getting the right results. but when I do it from the script, the time stretch always happens from the inpoint of the layer. Can someone provide some help real quick? I need to finish this project in two days and get it into production.
Post Reply