Copy link to clipboard
I selected all groups on the page
app.activeDocument.groupItems[i].selected = true;
and then tried to merge|unite them with
app.executeMenuCommand("Live Pathfinder Merge");
but, it doesn't work.Illustrator opens with selected groups but they are splitCould you please help with it?