apply_color
Apply a color swatch to an object's fill or stroke in an InDesign document by specifying the object index and color name.
Instructions
Apply color to an object
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colorName | Yes | Color swatch name | |
| colorType | No | FILL | |
| frameIndex | No | Target frame or page item index | |
| targetType | No | text | |
| objectIndex | Yes | Object index |