helicopterr
01-07-2007, 07:56 PM
Hey anyone know the command I need to use to get PS to give me the index of a selected layer in an array of layers in a document?
For instance, if
app.document(0).activeLayer;
and
app.document(0).layers[X];
both refer to the same selected layer, how do I get PS to give X in the form of a number?
For instance, if
app.document(0).activeLayer;
and
app.document(0).layers[X];
both refer to the same selected layer, how do I get PS to give X in the form of a number?
