How to programmatically add AEP/AEPX to AME 2024/2025 without launching After Effects?
I’m building an external Electron/NodeJS app and need to add a populated After Effects project (.aepx) directly into Adobe Media Encoder’s queue without launching After Effects.
What I tried:
- Starting AME and attempting to run ExtendScript via command line: --console es.executeScript, es.executeScript=, and -r script.jsx
- Inside the script: calling app.getFrontend() and app.getEncoderHost(), subscribing to onItemAddedToBatch and onBatchItemCreationFailed, and writing to a temp log file
- AME launches, but the script never seems to run (no file writes, no events, no queue items)
Goal:
Programmatically add the .aepx to AME’s queue (ideally with preset and output) without launching AE.
Questions:
Is there a supported way in AME 2024/2025 to execute ExtendScript from command line so it runs in the AME host?
What is the recommended method to queue AE projects in AME without opening AE?
If CLI script execution is not supported, should we use a CEP/UXP panel or Watch Folders instead?
Can anyone share a minimal “Hello World” example that runs JSX in AME 2025 and writes to a file to confirm execution?
Environment:
Windows 10, AME 2025, AE installed (not used), Electron/NodeJS app.
Thanks for any guidance.

