apply_color
Apply a color swatch to an InDesign object's fill or stroke by specifying the object index, color name, and target type.
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 |