1 Reply Latest reply on Oct 19, 2012 10:52 AM by Jump_Over

    ungroup a group and keep the scriptlabel for each item of the group




      does someone know how to ungroup a group of rectangles with a certain label (example groupA) an give each rectangle a own label (the same text groupA)

      I can find the group and ungroup it but I can't label the rectangles...



      var oPageItems = app.activeDocument.allPageItems;

      for (var j = oPageItems.length-1;  j >= 0; j--) {if (oPageItems[j].label==("groupA")) {oPageItems[j].ungroup();)



      Please help