Action needs to apply to any number of layers
Greetings,
I have an action that I’d like to see applied to my document's layers no matter how many layers are present in said document. The action goes as follows :
- Reorder the layers
- Lock the bottom layer
- Auto align the layers above that bottom/locked layer to that bottom/locked layer
- Make those freshly aligned layers invisible
I’ve already successfully created the action described above, for four layers. But I soon as the number of layers present in the document changes, the action goes out of whack and fails to work properly.
I’m pretty certain a scrip would allow me to apply the action described above to any number of layers, from two to 45 if need be. However, I can’t script or understand much about them!
Any help would be most welcomed.
Thank you.



