Search found 1 match
- March 6th, 2005, 2:13 am
- Forum: Scripts Discussion
- Topic: is there a way to get the selected (focused) layer name ?
- Replies: 1
- Views: 7998
is there a way to get the selected (focused) layer name ?
i select a layer . then , i press a button : { curItem = app.project.activeItem; if (curItem == null || !(curItem instanceof CompItem)) { alert("plz select a comp"); } alert(curItem.name); } this selects the active composition, but i want to get the selected layer . thanks d.k.