9 Replies Latest reply on Mar 6, 2008 10:40 AM by (Dave_Saunders)

    [js ][cs2] Move graphic to other layer

    Level 1
      Hi,

      Does aynone know how to specify the location on moving a graphic?

      if (app.activeDocument.layers.item('Graphics')== false){
      app.activeDocument.layers.add ({name: 'Graphics', layerColor: UIColors.blue});
      }

      for(var z=0;app.activeDocument.allGraphics.length>z;z++){
      app.activeDocument.allGraphics[z].move({'Graphics'});
      }

      Thanks a lot any feedback,

      Tim