Skip to main content
Participant
May 15, 2013 7:51 AM UTC
Answered

Run after effects script without opening after effects?

I have a project as a template. I want to run a script that injects itself with the project and replaces videos and text depending on the contents of my script file. So far so good, but can I run the script without opening after effects GUI? I use this now: afterfx -r c:\script_path\example_script.jsx. Is it considered best practice to have after effects GUI up and running if going to do many script changes on the template? Basically I am looking for the same functionality as aerender with no GUI.

This topic is closed to new replies. Start a new post to keep the conversation going.
chauffeurdevanCorrect answer
Inspiring
May 16, 2013 2:10 AM UTC

-noui

that's it

9 replies

chauffeurdevanCorrect answer
Inspiring
May 16, 2013 2:10 AM UTC

-noui

that's it

Translate
Participant
Feb 6, 2018 8:35 AM UTC

Hey thanks for your anwser! But I have an issue in my AE. So this is my command line argument "AfterFX.exe -noui -r E:\work\MovieMaker.jsx",I am trying to run this in background without UI,The script is run,and the first process ,the after effects opens in background,after a few seconds it shuts down!. Nothing is done as per the script!.What's the isssue.This happens only when using -noui,else it is working fine.Thakyou for your any help.

Translate
Mathias Moehl
Community Expert
Community Expert
Feb 6, 2018 9:58 AM UTC

Maybe your script does things that rely on the UI. If your script uses the app.executeCommand() function, for example, it won't work with -noui (noui = no user interface => no menu)

Translate
Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Mylenium
Legend
May 15, 2013 8:00 AM UTC

To my knowledge scripts cannot change projects without the program actually running. Scripts merely call reflections of the internal commands which only are available when the program runs in full. Perhaps some of that has changed in AE CC, but I'm not aware of it.

Mylenium

Translate
Participant
May 15, 2013 8:34 AM UTC

Ok, thanks for the answer.

Translate