Page 1 of 1

script idea (timesaver)

Posted: April 7th, 2006, 11:46 am
by Varangian
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?

Posted: April 8th, 2006, 12:21 am
by nab
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.

Posted: April 10th, 2006, 9:54 am
by Varangian
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]);

Posted: April 10th, 2006, 11:36 pm
by nab
For the entire comp duration, replace the line you mentioned by:

Code: Select all

myBrushDuration.setValue([0,myComp.duration]);
should be ok

Posted: April 11th, 2006, 6:44 am
by Varangian
perfect, thanks nab!