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.
is there a way to get the selected (focused) layer name ?
Moderator: Paul Tuersley
-
- Posts: 36
- Joined: December 4th, 2004, 10:10 am