script idea (timesaver)

What type of scripts do you need?

Moderator: byronnash

Post Reply
Varangian
Posts: 38
Joined: December 16th, 2004, 11:15 am

I often paint in AE on stills, but not on the first frame of the comp, or I do not have the duration set to constant.

How about a script that extends the duration of ALL paint layers to the full duration of the comp that the layer is in.

shouldn't be too tough. anyone?
nab
Posts: 203
Joined: November 29th, 2005, 3:00 am
Location: Royan
Contact:

Hi Varangian,
you can try this small script : http://www.nabscripts.com/Forum/Scripts ... ration.jsx
it should extend the duration of all brushes found on selected layers to the current comp time.
Varangian
Posts: 38
Joined: December 16th, 2004, 11:15 am

thanks nab, works good. I am wondering how to modify it so it makes the paint layer the entire duration of the comp, both the in and out point.
seems that this line is responsible for the action:

myBrushDuration.setValue([myBrushDuration.value[0],myComp.time]);
nab
Posts: 203
Joined: November 29th, 2005, 3:00 am
Location: Royan
Contact:

For the entire comp duration, replace the line you mentioned by:

Code: Select all

myBrushDuration.setValue([0,myComp.duration]);
should be ok
Varangian
Posts: 38
Joined: December 16th, 2004, 11:15 am

perfect, thanks nab!
Post Reply