Search found 461 matches

by lloydalvarez
October 1st, 2010, 9:41 am
Forum: Expression Discussion
Topic: thisComp.layer(slider control).name - how?
Replies: 5
Views: 15001

Re: thisComp.layer(slider control).name - how?

Sorry, I misread your question. Paul's solution will work for you.

-Lloyd
by lloydalvarez
October 1st, 2010, 6:50 am
Forum: Expression Discussion
Topic: thisComp.layer(slider control).name - how?
Replies: 5
Views: 15001

Re: thisComp.layer(slider control).name - how?

That is not possible via expressions. One workaround way to do it could be to have several layers and have the slider change the opacity of the layers to show and hide them.

-Lloyd
by lloydalvarez
September 29th, 2010, 2:34 pm
Forum: Script requests
Topic: AFTER EFFECTS ERROR: RAM PREVIEW needs 2 or more frames to p
Replies: 3
Views: 14809

Re: AFTER EFFECTS ERROR: RAM PREVIEW needs 2 or more frames to p

You can use my Throttle script to Purge and Turn Multiprocessing on and off from a dockable UI palette.

http://aescripts.com/throttle-n-purge/

-Lloyd
by lloydalvarez
September 16th, 2010, 10:06 am
Forum: General Scripts Library
Topic: Quick effects palette
Replies: 43
Views: 147005

Re: Quick effects palette

The app.executeCommand() is an unsupported function and is therefore not guaranteed to work in future versions. I would only use it when there is no other choice. Creating an adjustment layer is easy using supported api methods: var newAdjLayer = app.project.item(index).layers.addSolid(color, name, ...
by lloydalvarez
August 23rd, 2010, 4:43 pm
Forum: Scripts Discussion
Topic: Progress Bars and User Updates
Replies: 10
Views: 26247

Re: Progress Bars and User Updates

I hate to say you are correct Nab. I already confirmed and filed the bug for Win7 CS5 although I was only experiencing it on scripts run as panels not on scripts run as windows (ie from the scripts menu or launched from ExtendScript Toolkit)

-Lloyd
by lloydalvarez
August 21st, 2010, 7:26 am
Forum: Script requests
Topic: Inverse precomp (explode comp to its subcomps/layers)
Replies: 2
Views: 10723

Re: Inverse precomp (explode comp to its subcomps/layers)

I have never heard of such a script and it would be more complicated than you think to create. There would be a ton of considerations that would need to be handled. I would be a handy script though, just won't be easy to do.

-Lloyd
by lloydalvarez
August 21st, 2010, 7:23 am
Forum: Script requests
Topic: Render multichannel OpenEXRs?
Replies: 2
Views: 9601

Re: Render multichannel OpenEXRs?

The scripting api gives you access to the command line so theoretically you could write a script that renders the individual passes out of ae then through the command line invoke another script written in python that assembles all the passes into a multi-channel exr. For example, in my Immigration s...
by lloydalvarez
August 20th, 2010, 12:52 pm
Forum: Scripts Discussion
Topic: setProxyToNone() bug in CS5 ?
Replies: 4
Views: 12666

Re: setProxyToNone() bug in CS5 ?

Crashed for me as well on Mac CS5
by lloydalvarez
August 2nd, 2010, 3:20 pm
Forum: Scripts Discussion
Topic: Issues with effects and layer order ...
Replies: 4
Views: 8997

Re: Issues with effects and layer order ...

(Answered this on the cow but am cc'ing it here for completeness) Instead of using a try/catch you can use the canAddProperty() method: To check if you can apply an effect use the PropertyGroup canAddProperty() method (page 148 of the CS3 scripting guide): app.project.item(index).layer(index).proper...
by lloydalvarez
August 2nd, 2010, 3:17 pm
Forum: Scripts Discussion
Topic: recursively set composition lengths
Replies: 2
Views: 7483

Re: recursively set composition lengths

It's not very straight forward, I would use the AVItem usedIn attribute on the parent comp, then on it's parent comp, etc.:

Code: Select all

app.project.item(index).usedIn
by lloydalvarez
July 21st, 2010, 3:44 pm
Forum: Scripts Discussion
Topic: Trouble moving something forward one frame
Replies: 1
Views: 5847

Re: Trouble moving something forward one frame

Code: Select all

myLayer.startTime = myLayer.startTime + (1/myComp.frameRate); 
-Lloyd
by lloydalvarez
July 21st, 2010, 3:39 pm
Forum: Scripts Discussion
Topic: Batch Process AE projects
Replies: 10
Views: 19577

Re: Batch Process AE projects

Page 26 of the CS3 Scripting Guide:

Application open() method

app.open()
app.open(file)

Description
Opens a project.
Returns
A new Project object for the specified project, or null if the user cancels the Open dialog box.
by lloydalvarez
June 2nd, 2010, 6:57 pm
Forum: Scripts Discussion
Topic: renderQueueItem.onStatusChanged only called once
Replies: 2
Views: 7322

Re: renderQueueItem.onStatusChanged only called once

If you want to pass an argument to your function you can do it like this:

Code: Select all

currentItem.onStatusChanged= function () 
   {
   statusChange(i);
   }
-Lloyd