I need fo flip, move and duplicate grouped objects in InDesign. So far I have those lines from OMV:
var myGroup2 = myGroup.duplicate ([".0625 in", myPageHeight/2]);
myGroup.flip (Flip.HORIZONTAL, AnchorPoint.CENTER_ANCHOR);
myGroup.flipItem (Flip.HORIZONTAL, AnchorPoint.CENTER_ANCHOR);
myGroup.move ([".0625 in", myPageHeight/2]);
Those lines work for single object, and what I see in OMV, it should be the same for a group(?), but they don't work.
Your help is highly appreciated.
I got it. The lines are correct, mistake was before the lines - in the group definition. Here what I got and it's working: