batch_export
Export one or all open InDesign documents to multiple formats (PDF, JPG, PNG, TIFF, EPS, EPUB, IDML, HTML) at once with configurable options.
Instructions
Runs batch export using the existing BatchExportProfessional.jsx script. Ideal for exporting multiple formats at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formats | Yes | Formats to export | |
| document | Yes | Scope: 'active' (active document only) or 'all' (all open documents) | |
| openAfter | No | Open the folder after export | |
| outputDir | Yes | Destination folder | |
| overwrite | No | Overwrite existing files | |
| pageRange | No | Page range for images (for example, '1-5,8') | |
| pdfPreset | No | PDF preset name (for example, '[High Quality Print]') | |
| jpgQuality | No | JPG quality (1-4) | |
| resolution | No | Image resolution in DPI | |
| enableLogging | No | Save a log file | |
| useBatchScript | No | When true, uses BatchExportProfessional.jsx directly. When false, generates dynamic ExtendScript. |