document_close
Close an open InDesign document and control save behavior: save, skip saving, or prompt. Target a document by name or index; defaults to the front document.
Instructions
Close the active InDesign document with save options
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| saveOptions | No | no |