close_document
Close the active InDesign document, choosing how to handle unsaved changes via ASK, SAVE, or DISCARD options.
Instructions
Close the active document. Use saveOptions to control unsaved-changes behavior.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saveOptions | No | What to do with unsaved changes. ASK (default) opens InDesign save dialog. SAVE saves first. DISCARD throws away changes. | ASK |