Search found 461 matches

by lloydalvarez
October 24th, 2011, 2:07 pm
Forum: Scripts Discussion
Topic: Get file name of img seq except frame padding?
Replies: 6
Views: 14929

Re: Get file name of img seq except frame padding?

parseInt has an optional radix parameter (http://www.w3schools.com/jsref/jsref_parseInt.asp) so you would simply tell it you want it to parse the integer on a base of 10 like so: parseInt("00007",10); //result: 7 I think having leading zero's is an undocumented way of defining an octal bas...
by lloydalvarez
September 29th, 2011, 6:10 am
Forum: Scripts Discussion
Topic: Javascript equivalent to 'Reveal layer source in project'
Replies: 4
Views: 12193

Re: Javascript equivalent to 'Reveal layer source in project

Yes, you can execute commands in the terminal by using system.callSystem(). You will need to make sure the "Allow scripts to access network" is checked in AE before you use that command or you will get an error.
by lloydalvarez
September 17th, 2011, 1:51 pm
Forum: Scripts Discussion
Topic: Getting a file list from a folder
Replies: 4
Views: 11333

Re: Getting a file list from a folder

The reason sort() didn't work for immigration is that it's slow and it's not a natural sort so 10 will be sorted between 1 and 2 which doesn't make it very useful for detecting file sequences.
by lloydalvarez
September 16th, 2011, 9:50 am
Forum: Scripts Discussion
Topic: Problem with timeSpanStart
Replies: 2
Views: 7729

Re: Problem with timeSpanStart

Please file this bug with Adobe. http://adobe.com/go/wish
by lloydalvarez
September 16th, 2011, 9:48 am
Forum: Scripts Discussion
Topic: Getting a file list from a folder
Replies: 4
Views: 11333

Re: Getting a file list from a folder

Hey Phil, When I was writing Immigration I came across the same problem. To make matters worse the results were different depending on whether the files were local or if they came from a server and different kinds of servers gave different results! A real pain! And then to make matters worse, it is ...
by lloydalvarez
September 7th, 2011, 10:32 am
Forum: Script requests
Topic: Multiple Keyframe Copy and Paste Library
Replies: 2
Views: 9782

Re: Multiple Keyframe Copy and Paste Library

Could you do this with animation presets? They store keyframes.
by lloydalvarez
September 2nd, 2011, 8:02 am
Forum: Scripts Discussion
Topic: check if render output file exsits
Replies: 4
Views: 9497

Re: check if render output file exsits

The problem is that the backslash is an escape character in javascript so your windows path: "D:\06_AE_Render\073_Preview_20110727.mov" looks like this to javascript: "D:_AE_Render;_Preview_20110727.mov" You can test this yourself with this simple code in ESTK: alert("D:\06_...
by lloydalvarez
September 2nd, 2011, 6:21 am
Forum: Scripts Discussion
Topic: Render Settings template
Replies: 2
Views: 8088

Re: Render Settings template

Or is there a way to see if "Skip existing files" is enabled in the Render Settings window? app.project.renderQueue.item(index).skipFrames It will tell you how many frames are being skipped, so if you do a simple if/else statement you can check to see if it's on or not like so... var skip...
by lloydalvarez
September 2nd, 2011, 6:15 am
Forum: Scripts Discussion
Topic: Undo setProxyWithSequence causing After Effects to crash...
Replies: 1
Views: 6868

Re: Undo setProxyWithSequence causing After Effects to crash

Please file this bug with Adobe. You can do that here: http://adobe.com/go/wish
This is the only way bugs get fixed so please do it.
by lloydalvarez
September 2nd, 2011, 6:06 am
Forum: Scripts Discussion
Topic: Dropdownlist with images in AFX CS5
Replies: 4
Views: 9686

Re: Dropdownlist with images in AFX CS5

Please file this bug with Adobe. This is the only way things get fixed. You can file the bug here: http://adobe.com/go/wish
They do look at those submissions so please do it.

Lloyd
by lloydalvarez
August 29th, 2011, 3:30 pm
Forum: Scripts Discussion
Topic: Dropdownlist with images in AFX CS5
Replies: 4
Views: 9686

Re: Dropdownlist with images in AFX CS5

Not sure if this is your issue but in CS5 dropdown do not draw beyond the edges of the UI element so make sure your window is big enough to hold the open drop-down menu.
by lloydalvarez
August 29th, 2011, 2:59 pm
Forum: Scripts Discussion
Topic: Javascript equivalent to 'Reveal layer source in project'
Replies: 4
Views: 12193

Re: Javascript equivalent to 'Reveal layer source in project

What's not working with what you have? Are you asking about file sequences?
by lloydalvarez
July 22nd, 2011, 7:50 am
Forum: Script requests
Topic: Expression control to select a render mode in Particular 2
Replies: 2
Views: 9474

Re: Expression control to select a render mode in Particular

This should do it:

Code: Select all

(thisComp.layer("null for laser streak").effect("motion preview")("Checkbox").value) ? 1 : 2
-Lloyd
by lloydalvarez
July 22nd, 2011, 7:40 am
Forum: Script requests
Topic: Burn-in name of layer name/source file?
Replies: 2
Views: 10066

Re: Burn-in name of layer name/source file?

You don't really need a script for this as you can do it with an expression: http://www.motionscript.com/design-guid ... -name.html