Prenamed Layers
Does anybody know of a script that generates a fixed number of layers with predefined names? in a specific order from top to bottom of the stack?
Many thanks
Sean
Does anybody know of a script that generates a fixed number of layers with predefined names? in a specific order from top to bottom of the stack?
Many thanks
Sean
I am sure you can nut out how to add your own Layer names and number of layers.
This does not remove any current layers in the document.
existing layers are left at the bottom.
var LayersList = [
'1st Layer',
'2nd Layer',
'3rd Layer',
'4th Layer',
'5th Layer',
'Last Layer'
];
var doc = app.activeDocument;
for(var i = LayersList.length-1; i > -1; i--){
var newLayer = doc.layers.add();
newLayer.name = LayersList;
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.