Skip to main content
Participant
May 15, 2013
Answered

Run after effects script without opening after effects?

  • May 15, 2013
  • 2 replies
  • 3958 views

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 has been closed for replies.
Correct answer chauffeurdevan

-noui

that's it

2 replies

chauffeurdevanCorrect answer
Inspiring
May 16, 2013

-noui

that's it

Participant
February 6, 2018

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.

Mathias Moehl
Community Expert
Community Expert
February 6, 2018

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)

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

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

Participant
May 15, 2013

Ok, thanks for the answer.