4 Replies Latest reply on Jan 23, 2014 1:19 AM by Beliakov

    Can i manipulate objects, layed on particular layer [CS6-jsx]


      I have 6 layers. Then i need to left objects from 2 particular layers where they are and move all others to one new layer. Can i say in script "move all objects on layer 1 to layer 3"?

      string like this

      L = mDoc.layers.add ({name: "General"});
      mDoc.layers[0].everyItem().itemLayer = L;

      doesn't work.