Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe Illustrator In illustrator have something like selectedLayers like after effect

  • In illustrator have something like selectedLayers like after effect

     Supak Suksawat updated 1 year ago 1 Member · 1 Post
  • Supak Suksawat

    March 6, 2022 at 3:15 pm

    I want to alert the layers that I selected in Ai by use activeLayer but it can alert 1 layer that selected at last I need it show all of layer that I selected like in after effect that have selectedLayers and I try to use array but it error when I use it with activeLayer

    ————————————————–

    var doc= app.activeDocument;

    with(doc){

    for(i=0;i<layers.length;i++){

    alert(activeLayer[i].name); –> error

    }

    }

    ————————————————–

Viewing 1 of 1 posts

Log in to reply.

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