Skip to main content
Participating Frequently
March 16, 2024
Question

AfterFx.com -r returns immediately instead of waiting the script execution when AE is already up

  • March 16, 2024
  • 0 replies
  • 169 views

Hi,

 

When After-Effects (2023, 2024, and at least since 2020) is running, using the command line with "AfterFx.com -r scriptPath" will directly return in the command line (not desired behaviour) and I would like to know if it is possible to make it blocking.

If I use -m to create a new instance, the command is waiting until the end of the script (desired behaviour).

 

To test that behaviour, I use the following script:

```

$.writeln("starting script");
$.sleep(10 * 1000);
$.writeln("end of script");
```

 

I had a previous post here

 

Best regards

This topic has been closed for replies.