run script command prompt

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
mads
Posts: 33
Joined: October 15th, 2004, 6:38 am
Location: Denmark
Contact:

two questions

-Is it possile to run a Script on a open instance of After Effects with the windows command prompt?

-Is it possible to make after effects automatically run scripyt when you double click a script file?


-Mads Juul
mads
Posts: 33
Joined: October 15th, 2004, 6:38 am
Location: Denmark
Contact:

ok I found a way

af i write this in command line og in the target og the short cut

i run a script called'a.jsc' located in my root

"C:\Program Files\Adobe\After Effects 6.5\Support Files\AfterFX.exe" -s var a = new File("C:\a.jsx") ; a.open();eval(a.read())

-mads
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

Hey mads,

this doens't seem to be working for me.. -s is the flag to indicate the start frame of the composition not to launch a script so i am a bit confused.

i am very interested in launching a script with a command line render, however, to be able to create a render done report.. so any help on this will be great.

-lloyd
Dan Ebberts
Posts: 320
Joined: June 26th, 2004, 10:01 am
Location: Folsom, CA
Contact:

Lloyd,

I think mads was talking about using a command line to force AE to run a script. The -s flag means the text of the script is in the command line, -r would be used to pass the path to a script file.

The command line renderer is a different deal, and I do't know of any way to force it to run a script.

Dan
Post Reply