Skip to main content
BalajiMurugesan
Participating Frequently
December 20, 2019
Question

ungrouping multiple groups

  • December 20, 2019
  • 1 reply
  • 267 views

do{

var myDoc = app.activeDocument;

var myGroups = myDoc.groups;

for(var g=myGroups.length-1;g>=0;g--)

             {

             myGroups[g].ungroup();

             }

      }

while(myGroups.length>0)

alert("Ungrouping Successfully");

This topic has been closed for replies.

1 reply

Community Expert
December 20, 2019

Hi Balaji,

you posted some ExtendScript code.

Do you have any questions or issues with it?

 

Regards,
Uwe Laubender

( ACP )