Active and current layer
Hello,
When looping over layers, what is the best way to:
1. Get the "active" layer?
2. Set a new layer as active?
Also, is there an easy way to get the index of the app.activeDocument.activeLayer when not looping over layers? In other words, can I determine the activeLayer's index without using a loop to find it?
Thanks!
