execute_indesign_code
Execute custom ExtendScript code in InDesign to automate document creation, editing, styling, and PDF export with direct access to system APIs.
Instructions
⚠️ Execute custom ExtendScript code in InDesign (REQUIRES INDESIGN_ALLOW_ARBITRARY_CODE=1)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ExtendScript/JavaScript code to execute in InDesign. WARNING: Can access filesystem, network, and system APIs! |