Hi i want set the fill color of a rectangle with applescript:
tell application "Adobe InDesign CS4"
set myRectangle to rectangle 1 of page 1 of document 1 whose label is "testa"
set fill color of myRectangle to "C=20 M=100 Y=100 K=10"
this doesn't work.
It works if there is an existing color swatch with a name of "C=20 M=100 Y=100 K=10". (Name with Color Value is checked in Swatch Options.)
Thanks, it works.