Skip to content

Instantly share code, notes, and snippets.

@vladocar
Created January 17, 2012 21:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vladocar/1628937 to your computer and use it in GitHub Desktop.
Save vladocar/1628937 to your computer and use it in GitHub Desktop.
Number of Layers in Photoshop
var layerNum = app.activeDocument.layers.length;
prompt("Layers Number:", layerNum);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment