text_searchFormatting
Locate text ranges in an InDesign story by font family, font style, or point size, returning matching ranges for targeted formatting edits.
Instructions
Find text ranges with specific formatting (font family, style, or size) within a story
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| fontStyle | No | Font style to search for (e.g. "Bold", "Italic") | |
| pointSize | No | Font size in points | |
| fontFamily | No | Font family to search for | |
| maxResults | No | ||
| storyIndex | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. |