2 Replies Latest reply on Jul 18, 2013 8:16 AM by Cooroo

    Set Layer Color to color name

    Cooroo Level 1

      This works:

       

      set layer color of layer 1 to light blue

       

      This doesn't:

       

      set listOfColors to {"light blue", "green", "blue"}

       

      set layer colour of layer 1 to item 1 of listOfColors

       

      I can see that item 1 is text, and light blue is not text - is there some way to coerce it? Maybe I'm just being lazy but if color names exist, I'd rather use them.

       

      Thanks for any help,

      Emma