2 Replies Latest reply on Jul 2, 2010 7:17 AM by max_technopia

    AS Set fill color of rectangle

    max_technopia

      Hi i want set the fill color of a rectangle with applescript:

       

      tell application "Adobe InDesign CS4"

      activate

      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"

      end tell

       

      this doesn't work.

       

      please help

       

      thanks