Skip to content

Instantly share code, notes, and snippets.

@Arahnoid
Forked from vladocar/layerNumber.js
Created July 30, 2014 23:56
Show Gist options
  • Save Arahnoid/99f66630940338d328bf to your computer and use it in GitHub Desktop.
Save Arahnoid/99f66630940338d328bf to your computer and use it in GitHub Desktop.
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