Moderator: Paul Tuersley

Topic Author
Posts: 13
Joined: Tue Jan 05, 2010 1:37 am

Having trouble launching program from Command Line

Wed Sep 16, 2015 8:32 am


I am trying to figure out how to get programs to launch from the Command Line. Been searching around on google for days and haven't found any solutions that are working for me.

Here's the code I am trying to do:

system.callSystem("cmd /c \""C:\\Program Files\\Adobe\\Adobe After Effects CC 2014\\Support Files\\aerender.exe -project  + app.project.file.fsName"\"");

The idea is that, in my script, once all the other functions of the script have taken place, the compositions that have been sent to the render queue will be rendered, but in the background using aerender. I cannot get ae render to launch and I know it is probably some dumb syntax error on my part but I have been pulling my hair out trying to fix it.

Also, if it's possible. Is there a way to have the script resume and go on to it's next lines of code once the command line render has finished?

Please and thanks!

Who is online

Users browsing this forum: No registered users and 1 guest