0 Replies Latest reply on Sep 29, 2009 4:32 AM by TᴀW

    Working with layers CS4 JS

    TᴀW Adobe Community Professional & MVP

      [In the course of posting this question, I figured out how to do this. Sometimes the effort of formulating a question clearly so that someone else can understand it is all that's needed to find the obvious answer!! I'll post anyway in case someone has a similar difficulty]




      I'm not managing something which I hoped would be simple enough:


      Copy an object from a layer called "coloured"

      and paste it to a layer called "background" without otherwise changing its location,

      and then select the new object


      and the one-line answer is:


      app.activeDocument.selection[0].duplicate(app.activeDocument.layers.itemByName("ExtraBleed ")).select()