Skip to content

Instantly share code, notes, and snippets.

@vladocar
Created January 17, 2012 21:16
Show Gist options
  • Save vladocar/1628924 to your computer and use it in GitHub Desktop.
Save vladocar/1628924 to your computer and use it in GitHub Desktop.
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