get_page_item_script_labels
Read script labels from page items in InDesign by selection, page/item indices, page number and object id, or retrieve all labelled items.
Instructions
Read script labels from page items using selection or explicit identifiers
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Selection mode: current selection, page/item indices, page number and object id, or sweep all labelled items | CURRENT_SELECTION |
| objectId | No | When mode=PAGE_NUMBER_AND_OBJECT_ID, InDesign object id of the page item | |
| itemIndex | No | When mode=PAGE_ITEM, index of the page item (zero-based) | |
| pageIndex | No | When mode=PAGE_ITEM, index of the page containing the item (zero-based) | |
| pageNumber | No | When mode=PAGE_NUMBER_AND_OBJECT_ID, page number using documentOffset+1 |