I'm trying to select all the art layers within a group, but I'm not sure if it is possible. On a previous answer someone said that something like var lyrs = myDocument.layerSets["Group 1"].artLayers; would grab all the art layers within a group but when I try to use a similar language to set the active layer to those layers it does not work.
I've seen several references to using xtools to do this, and I'm not opposed to using it, but I also can not find any documentation on how you are suppose to call upon the Stdlib library when writing your own script.
If you are trying to select multiple Layers I think you will have to use AM code anyway.
You could select them either by index or by identifier.
Is the Group the activeLayer or how exactly is it determined?