2 Replies Latest reply on Jul 28, 2009 4:04 AM by sstanleyau

    [AS] getting valure of color

    Kevin Parrott Level 2

      Hi

      how would I go about getting the value of a color?

       

      I have tried the below but it errrors  "Adobe InDesign CS3 got an error: Invalid parameter."

       

      tell application "Adobe InDesign CS3"
          activate
          set _myDoc to active document
          tell _myDoc
              set _Colour1 to swatch "PANTONE 238 U"
              (get value of color _Colour1) --as string
          end tell
      end tell

       

       

      cheers

      Kev