Illustrator Scripting. How to merge|unite groups together?

New Here ,
Feb 23, 2022 Feb 23, 2022

Copy link to clipboard

Copied

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 split

Could you please help with it?

TOPICS
Bug , Scripting

Views

57

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Feb 23, 2022 Feb 23, 2022

Copy link to clipboard

Copied

LATEST

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines