Search found 31 matches

by cardeiro
June 24th, 2009, 6:10 am
Forum: General Scripts Library
Topic: script to align layers between two points in 3d space
Replies: 4
Views: 13173

Re: script to align layers between two points in 3d space

You could use this expression and eliminate the divide by zero issue: n = thisComp.numLayers; v1 = thisComp.layer(n-1).position; v2 = thisComp.layer(n).position; v1 + (v2 - v1)*(index/(n-1)) Wow, so much cleaner than my expression...the only problem with it is I always want the first layer to have ...
by cardeiro
June 23rd, 2009, 9:40 am
Forum: General Scripts Library
Topic: script to align layers between two points in 3d space
Replies: 4
Views: 13173

script to align layers between two points in 3d space

I just wrote a script trajectory. It creates two 3d nulls at the bottom of the composition. It will then take every layer in the composition, make them 3d and put a position expression that will distribute all the layers on a line between the two points. Once finished you can move the nulls and the ...
by cardeiro
September 21st, 2007, 6:18 am
Forum: Scripts Discussion
Topic: scripts will no longer support file I/O
Replies: 11
Views: 18392

bradshaw1965 wrote:Spend some time with the Javascript CS3 tools guide(pdf link) it's really thoroughly documented including all the OS edge cases you might run into.
Wow! didn't even know about this...I wonder why the ae scripting docs didn't point me to this resource. Thanks Dale!

Mike Cardeiro
by cardeiro
September 20th, 2007, 6:19 pm
Forum: Scripts Discussion
Topic: scripts will no longer support file I/O
Replies: 11
Views: 18392

while I am sure xml parsing will be just dandy, I think it would suck for adobe to totally change such a core feature. Nearly every script I have ever written uses file i/o. I will have to take time to re-learn (and re-write) something I already know how to do. I have no problem with adobe adding a ...
by cardeiro
September 19th, 2007, 7:40 am
Forum: Scripts Discussion
Topic: how to tell if file copy is complete
Replies: 1
Views: 5792

how to tell if file copy is complete

I am working on a script that will check a folder for items. If an item is there it will import it into a project and render it.

The only problem I am running into is how to make the script know if the file is complete, or still being copied into the directory.

any ideas?

Mike Cardeiro
by cardeiro
September 18th, 2007, 11:46 am
Forum: Scripts Discussion
Topic: scripts will no longer support file I/O
Replies: 11
Views: 18392

scripts will no longer support file I/O

just stumbled across this in the cs3 scripting guide. NOTE: The After Effects global functions for standard dialogs and file I/O are still supported in this release, but are deprecated and will not be supported in future releases. For details, see the After Effects 6.5 documentation. anybody know wh...
by cardeiro
September 14th, 2007, 6:31 am
Forum: Scripts Discussion
Topic: any way to change preferences with script in CS3
Replies: 1
Views: 5709

any way to change preferences with script in CS3

specifically, I want to change the multiprocessing option. This option really sucks when working in a comp and you want a quick preview... the whole system grinds to a halt. I only want this pref turned on when I render. Basically I want to write a script that will enable multiprocessing; render all...
by cardeiro
March 1st, 2007, 6:29 am
Forum: Scripts Discussion
Topic: create folder in project
Replies: 3
Views: 8854

oh, we have 6.5 and 7.0 machines so I was developing this script on the 6.5 machine so everyone could play...guess only the 7.0 systems will be able to use the script!
by cardeiro
February 28th, 2007, 10:07 am
Forum: Scripts Discussion
Topic: create folder in project
Replies: 3
Views: 8854

create folder in project

I thought this was going to be trivial, but I have scoured the docs and cant find a method.

All I want to do is have my script create a folder in my project...is this possible, and if not why (seems like a pretty fundamental feature)

Mike Cardeiro
by cardeiro
January 19th, 2007, 10:07 am
Forum: General Scripts Library
Topic: spell check for after effects
Replies: 5
Views: 23500

I just completed an update on my spellcheck script http://www.michaelcardeiro.com/aeScripts/spellCheck/ You can now get suggestions on a misspelled word by clicking on the "suggest word" button. You need to be connected to the internet for this feature to work. I originally coded the word ...
by cardeiro
April 20th, 2006, 6:35 am
Forum: Scripts Discussion
Topic: reading and writing hex (reading a quicktime file)
Replies: 1
Views: 6516

reading and writing hex (reading a quicktime file)

Hi I am trying to "read" a quicktime file...not play it but actually read the raw data contained in the file. The file appears to be written in hex, I am able to look at it with a hex editor, but whenever I try to read it with a script, I am not able to get any useable data from the reads....
by cardeiro
April 3rd, 2006, 11:43 am
Forum: Scripts Discussion
Topic: copying a image sequence
Replies: 6
Views: 15200

then why don't you create a null project and import all the other prjects in it ? your suggestion does not answer the problem at hand, mainly, that there does not appear to be a scriptable way to collect all files in an image sequence(i am currently working on a workaround but would much prefer a n...
by cardeiro
April 3rd, 2006, 6:37 am
Forum: Scripts Discussion
Topic: copying a image sequence
Replies: 6
Views: 15200

why don't you use the collect files function of after effects ? is this functionality scriptable? I have not been able to find it in the docs. Running it from the menu is not helpful as my objective is to write a script that will automate the archive process by opening all ae projects associated wi...
by cardeiro
March 27th, 2006, 7:34 pm
Forum: General Scripts Library
Topic: spell check for after effects
Replies: 5
Views: 23500

spell check for after effects

hi I wrote a spell checker for after effects. It goes through the composition you are working on and checks the spelling of all text in the composition and any text nested in precomps. the script is located at http://michaelcardeiro.com/aeScripts/spellCheck/ I would be interested in any feedback on ...