is there a way to get the selected (focused) layer name ?

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
dan_kori
Posts: 1
Joined: March 3rd, 2005, 8:59 am

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.
Post Reply