Script to select same stroke color of path group ~~Adobe Illustrator
how to select path group with script ? if they are not group, I can select with script. pls help me, thanks

var doc = app.activeDocument;
var artb = doc.artboards;
var artLayer = doc.layers[0];
var s = artLayer.pathItems;
var colorObj = new CMYKColor();
colorObj.cyan = 100;
colorObj.magenta = 0;
colorObj.yellow = 0;
colorObj.black = 0;
var aLen = artb.length;
for(var i = 0; i < s.length; i++){
var pathItem = s[i];
if (pathItem.strokeColor.cyan == 100 && pathItem.strokeColor.magenta == 0 && pathItem.strokeColor.yellow == 0 && pathItem.strokeColor.black == 0){
pathItem.selected = true;
artb.add(pathItem.geometricBounds);
pathItem.remove();
}else{
}
}


