Page 1 of 1

Help! Can AE return a value on closing?

Posted: November 15th, 2006, 4:53 pm
by elalumie
I'm executing AfterFX.exe from a system call in a script (python).
My jsx is already generated and passed as an argument.
In order to continue the python script I need to have AE to return a value on quitting.

Any suggestions on how to do this?

Thanks.

E.

Exit code

Posted: November 16th, 2006, 9:52 pm
by redefinery
Hi elalumie,

I haven't tried it, but maybe app.exitCode will work for you? Refer to the AE Scripting Guide for more details.

Otherwise, maybe you can write the value to a file on disk, and then your calling python script can parse it?

Jeff

Posted: November 17th, 2006, 11:11 am
by elalumie
I will give it a shot.
Thanks for the tip.


E.