-
toggle TimeWarp’s adjustTimeBy property (AE scripting)
This is my first swing at scripting some properties. Did a bunch of searching and tried to frankenstein some code. I really do no know what I am doing so forgive this syntax if it makes no since?
All I want to do is apply the TimeWarp effect to my footage, set the “Adjust Time By” and make the source frame 30 for my footage. This will help me make a poster frame (thumbnail) of any image sequence I bring in.I successfully figured out how to apply Timewarp to my layer! But I am now stuck…
I want to select or toggle the “adjust Time By” property and set the value to somewhere in the middle to skip the handle frames.
layer(1).property(“Effects”).addProperty(“Timewarp”).property(“adjustTimeBy”);
//stuck now as this will not toggle the property. All this does is apply Timewarp with its default “Speed” property set to 50%. I want to toggle into the adjustTimeBy and set the source to a value.Again I am stuck here. Or if you have another solution I am all ears.
I started reading about how to do this last night, so pretty green with this. If you can keep it simple I might be able to figure it out.
Thanks for your help!layer(1).property("Effects").addProperty("Timewarp").property("adjustTimeBy");
//stuck now as this will not toggle the property. All this does is apply Timewarp with its default "Speed" property