Run advanced After Effects JSX
after_effects_run_jsxExecute custom ExtendScript code in After Effects to automate complex tasks and access project APIs beyond standard tool capabilities.
Instructions
Run arbitrary ExtendScript inside After Effects for advanced operations not covered by focused tools. The code executes inside a function, may use app/project APIs, and should use an explicit return with JSON-serializable data. Use ES3-compatible syntax only. This is a powerful local tool: JSX can modify projects and access files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ES3-compatible ExtendScript function body. | |
| timeout_seconds | No | Maximum wait for the script result. | |
| undo_group_name | No | Optional After Effects undo group around the script. |