im trying to write an apple script to change the colour of boxes by script labels but…
- User
im trying to write an apple script to change the colour of boxes by script labels but its not working: set color of all page items of page 1 of active document whose label is "Box 1" to black
- Assistant
The AppleScript code you have provided seems to have a minor syntax error. Please try the revised version below:
tell application "Adobe InDesign" tell active document tell page 1 set color of every page item whose label is "Box 1" to "Black" end tell end tell end tellMake sure to replace "Adobe InDesign" with the correct application name if you are using a different software. Also, double-check that the label "Box 1" exists on the page items you are targeting for color change.
Note: The color name should be specified exactly as it appears in InDesign. In this example, it is given as "Black."
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.