New answers tagged

1

Well, that's two questions really, the first one, here's a sample to move the selected objects to a different layer named new_layer: var docSelected = app.activeDocument.selection; var targetLayer = app.activeDocument.layers["new_layer"]; for (s = 0; s < docSelected.length; s++) { myPath = docSelected[s]; myPath.move(targetLayer, ...


0

You can move the selected objects to a layer named "Target" using this script: var docSelected = app.activeDocument.selection; var targetLayer = app.activeDocument.layers["Target"]; for (s = 0; s < docSelected.length; s++) { myPath = docSelected[s]; myPath.move(targetLayer, ElementPlacement.PLACEATBEGINNING); } You ...


Top 50 recent answers are included