Creative Communities of the World Forums

The peer to peer support community for media production professionals.

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

  • In illustrator have something like selectedLayers like after effect

    Posted by Supak Suksawat on 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

    }

    }

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

    Usama Aslam replied 2 years, 3 months ago 2 Members · 1 Reply
  • 1 Reply
  • Usama Aslam

    January 23, 2024 at 10:05 pm

    You can see the selected layers from the layers panel in Ai. If any layer is locked and not moving, right click on it and select unlock all layers to make any adjustments in your project.

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