How to Find Selected Layers and Run Events
Greetings everyone!
Friends, I'm looking for a script that is able to find only the selected layers and run this script:
try {
var tranf = new ActionDescriptor()
executeAction( charIDToTypeID( "Trnf" ), tranf , DialogModes.ALL );
executeAction( charIDToTypeID( "Dstt" ), undefined, DialogModes.NO );
} catch(e) {}
If there is only one selected layer, run my script .....
If there are two or more layers selected, run my script in layer order.
Any help is very important.
