Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Layer names list in Photoshop
var layerNum = app.activeDocument.layers.length;
var a = [];
for (var i = 0; i < layerNum; i++) {
a[i] = '"' + app.activeDocument.layers[i].name + '"';
prompt("Layers Names:", a);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment