Copy link to clipboard
Copied
Hi,
I'm looking for a script to batch change the name of my art boards to the name of the only layer in that art-board. Is this possible in Photoshop? (I know it is in Illustrator)
Thanks!
Copy link to clipboard
Copied
Yes, this is possible in Photoshop.
As far as I can tell, ExtendScript treats an ArtBoard like a regular LayerSet. Do you have an Illustrator Script you are working with as a starting point?
Copy link to clipboard
Copied
If there are just artboards and no layersets you could try...
var count = activeDocument.layerSets.length;
for(a=0;a<count;a++){
activeDocument.layerSets.name = activeDocument.layerSets.layers[0].name;
}