5 Replies Latest reply on Feb 3, 2010 8:15 AM by adobeJavaScripter

    How do you select a layer by name using Javascript?

    adobeJavaScripter

      How do you select a layer by name using Javascript?

       

      You can do this in Applescript using this code:

      set active layer of active window to layer "Layout" of myDocument

       

      I can't figure out the correct syntax in Javascript.

       

      Anyone know how to do this?

       

      Any information would be greatly appreciated,

      adobeJavaScripter