Highlighted

After-Effects 2020: AfterFx.com -r returns immediately instead of waiting the script execution

New Here ,
May 23, 2020

Copy link to clipboard

Copied

Hi,

 

I was using `AfterFx.com -r myScript.jsx` to launch scripts, and it was waiting the end of the scripts.

Now I upgraded to After-Effects 2020, and when I run `AfterFx.com -r myScript.jsx`, the process in the command line has already returned, and my script is running on AE. 

 

Is there a simple way to guarantee that the command returns once the script has finished running ?

I'm not able to see the flags of AfterFx.com, I don't know where to find them. I tried to look at `aerender -h` but I don't see any flag for that purpose, neither in the settings menu. 

 

I would like to avoid having to do IPC between script & the command whichs runs the script, just to know if the script is running or finished.

Topics

Error or problem, Scripting, SDK

Views

211

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

After-Effects 2020: AfterFx.com -r returns immediately instead of waiting the script execution

New Here ,
May 23, 2020

Copy link to clipboard

Copied

Hi,

 

I was using `AfterFx.com -r myScript.jsx` to launch scripts, and it was waiting the end of the scripts.

Now I upgraded to After-Effects 2020, and when I run `AfterFx.com -r myScript.jsx`, the process in the command line has already returned, and my script is running on AE. 

 

Is there a simple way to guarantee that the command returns once the script has finished running ?

I'm not able to see the flags of AfterFx.com, I don't know where to find them. I tried to look at `aerender -h` but I don't see any flag for that purpose, neither in the settings menu. 

 

I would like to avoid having to do IPC between script & the command whichs runs the script, just to know if the script is running or finished.

Topics

Error or problem, Scripting, SDK

Views

212

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Have something to add?

Join the conversation