Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: Set Layer Color to color name

$
0
0

Those UI colours are app constants so NO double quotes… Also NO u in color on last line…

 

tell application "Adobe InDesign CS5"

          tell the active document

 

                    set layer color of layer 1 to light blue

 

                    set listOfColors to {light blue, green, blue}

 

                    set layer color of layer 1 to item 2 of listOfColors

 

          end tell

end tell


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>