2 Replies Latest reply on Mar 2, 2017 5:56 AM by evangelos.vlasopoulos

    How to apply style on the active layerSet with Js?

    evangelos.vlasopoulos Level 1

      Hi, I am new in Js and so far I am capable of applying styles on artLayers with Js.

      This is my code for that

       

      app.activeDocument.artLayers["artLayer Name"].applyStyle("Name of the Style");
      

       

      But I don't know how to apply a style on the active layerSet. It will be really helpful to apply a style on a folder because  that way I will apply the same effect in all the layerSet's contents.

       

      Can you help me?