Skip to main content
SteveLewisZA822488
Participant
April 4, 2020
Question

Running a script from the command line is opening the After Effects GUI

  • April 4, 2020
  • 1 reply
  • 1563 views

Hi there,

I'm wanting to headlessly run a script using the AfterFX -r command like so:

 

afterfx -r c:\script.jsx

 

But this seems to open up the full After Effects interface, runs the script, then immediately closes After Effects, I was wondering if this is normal, is it not meant to run the script headlessly, as in no GUI? The fact that in opens up After Effects seems to defeat the point, or am I missing something?

 

Thanks for any clarification on this

Steve

This topic has been closed for replies.

1 reply

SteveLewisZA822488
Participant
April 5, 2020

Okay I've figured it out, seems that I can just use -noui to execute without opening the ui

Justin Taylor-Hyper Brew
Community Expert
Community Expert
April 6, 2020

The -noui flag is pretty glitchy. I'd recommend using the AfterFX.com executable for headless on Windows, or aerender.exe if you only need to render.

SteveLewisZA822488
Participant
April 6, 2020

Great, thanks for the advice 👍