adobe_runScript
Execute raw ExtendScript inside After Effects, Premiere Pro, Photoshop, or Illustrator to access native scripting DOMs, run custom automation, and return JSON-ready results.
Instructions
Run raw ExtendScript inside an app — full scripting-DOM access to EVERYTHING the app exposes (AE app.project, Premiere app.project + QE (app.enableQE(); qe.project), Photoshop DOM + Action Manager, Illustrator DOM, BridgeTalk). The code is a function body: return a JSON-able value; helpers are preloaded (__comp, __layer, __prop, __seq, __track, __clip, __doc, __hex, __s...). ARGS holds args. Or pass file to $.evalFile a .jsx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ae = After Effects, pr = Premiere Pro, ps = Photoshop, ai = Illustrator | |
| args | No | ||
| code | No | ||
| file | No | ||
| undoGroup | No | AE: wrap in an undo group with this name | |
| timeoutSec | No |