Search found 461 matches

by lloydalvarez
May 5th, 2014, 2:44 pm
Forum: Scripts Discussion
Topic: IndexOf problem
Replies: 10
Views: 7236

Re: IndexOf problem

After Effects scripting is "regular" javascript. They are only different in the extended methods. All the base Javascript is exactly the same, i think you are misunderstanding strings and arrays.
by lloydalvarez
May 4th, 2014, 8:18 am
Forum: Scripts Discussion
Topic: IndexOf problem
Replies: 10
Views: 7236

Re: IndexOf problem

It turns out that the indexOf method works fine with strings, but it fails when used with arrays, as opposed to regular javascript, which supports either. IndexOf is a string function and doesn't work with arrays anywhere. To get an item in an array by index you simply do this: myArray[3]; //gets t...
by lloydalvarez
February 27th, 2014, 9:16 am
Forum: Scripts Discussion
Topic: Detecting Photo Image Orientation
Replies: 6
Views: 4650

Re: Detecting Photo Image Orientation

This script will fix the orientation: http://aescripts.com/photoorientationfixer/
by lloydalvarez
February 18th, 2014, 10:03 am
Forum: General Scripts Library
Topic: Here's a script for sorting layers by z positions
Replies: 11
Views: 21597

Re: Here's a script for sorting layers by z positions

basem wrote:I really need this script but I don't know how to use it ..

Can you give the script as a file to add to my after effects scripts ..

I'm using after effects cc

Here is a newer and much more powerful sorting script: http://aescripts.com/sortie/
by lloydalvarez
April 25th, 2012, 3:09 pm
Forum: Script requests
Topic: a script to batch replace files
Replies: 1
Views: 3802

Re: a script to batch replace files

Batch Search-n-Replace Paths worked for Jon btw.
by lloydalvarez
February 12th, 2012, 4:45 pm
Forum: Scripts Discussion
Topic: Adding an effect to a set position
Replies: 1
Views: 2519

Re: Adding an effect to a set position

Use the moveTo() method: PropertyBase moveTo() method app.project.item(index).layer(index).propertySpec.moveTo(newIndex) Description Moves this property to a new position in its parent property group. This method is valid only for children of indexed groups; if it is not, or if the index value is no...
by lloydalvarez
February 1st, 2012, 6:53 am
Forum: Expressions Library
Topic: Jumpy Hold WIGGLE
Replies: 6
Views: 23788

Re:

Animamigrante wrote:ciao lloydalvarez :)
I looking for a list of EXPRESSIONS like this:

wiggle(100,100)

there is other simple expressions as that???
If you want to play with expressions without having to write any code check out iExpressions: http://aescripts.com/iexpressions
by lloydalvarez
January 21st, 2012, 8:28 am
Forum: Script requests
Topic: Calling pulldown values
Replies: 6
Views: 4402

Re: Calling pulldown values

Thanks Eddie :-)
by lloydalvarez
December 30th, 2011, 7:48 am
Forum: Script requests
Topic: Add a Point Light to each Selected Layers postition
Replies: 3
Views: 4890

Re: Add a Point Light to each Selected Layers postition

NAB wrote a pretty clever script to add lights to selected layers. The cleverness is how it gets around the lack of light control in the scripting api: http://www.motionboutique.tv/en/researc ... -designers

-Lloyd
by lloydalvarez
December 30th, 2011, 7:43 am
Forum: Scripts Discussion
Topic: FootageItem (Sequence): how to get pointers to all the files
Replies: 2
Views: 2544

Re: FootageItem (Sequence): how to get pointers to all the f

You have to figure it out on your own. There is no api hook to do it for you unfortunately. However it's pretty simple, right? If you know the first file and you know they are sequential and you know the frame range then you can figure out what the filename is for any of the files in the sequence. -...
by lloydalvarez
December 3rd, 2011, 7:47 am
Forum: Script requests
Topic: Calling pulldown values
Replies: 6
Views: 4402

Re: Calling pulldown values

Yes, I am saying there is no way to directly call it by name but looping is very fast so it should not be a big deal. And it doesn't matter that each machine is different since you would loop everytime to get the name.

-Lloyd
by lloydalvarez
December 2nd, 2011, 5:32 pm
Forum: Script requests
Topic: Calling pulldown values
Replies: 6
Views: 4402

Re: Calling pulldown values

You have to loop through them and check the name of each one. If it matches what you are looking for then you've got your index.

-Lloyd
by lloydalvarez
October 25th, 2011, 8:40 am
Forum: Announcements
Topic: XML based project files (.aepx)
Replies: 5
Views: 12932

Re: XML based project files (.aepx)

It is fully documented in the Javascript Tools Guide which you can get to by going to the Help menu in the ExtendScript Toolkit.
by lloydalvarez
October 25th, 2011, 8:29 am
Forum: Scripts Discussion
Topic: error with Statesman script
Replies: 1
Views: 2366

Re: error with Statesman script

You should contact redefinery and let them know about this error: http://www.redefinery.com/aboutme/