4 Replies Latest reply on Aug 12, 2013 12:58 PM by Jim Birkenseer

    Combine two layer names in one command

    hobbes_1979

      Hello Community,

      I have a tiny question: Can those two lines be combined to one command by somehow group the names? I have throught about an array but I would like to have the names still visible. Maybe there is something smarter ... ?

       

      myDokument.layers.item("layer1").visible = true;

      myDokument.layers.item("layer2").visible = true;

       

       

      Thanks alot for any help or info.

      Gr Kosta