Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Script check if the item selected is a folder

  • Dan Ebberts

    July 8, 2015 at 4:09 pm

    It’s not clear how you defined myItems, but this works for me:


    var myItems = app.project.selection;
    if ((myItems.length) > 0 && (myItems[0] instanceof FolderItem)){
    alert ("folder selected");
    }

    Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy