app.select with group problem
I'm having a problem with selecting groups in a script: when I use app.select it selects the COMPONENTS of the group, not the group itself.
myGroup=[]
myGroup.push(obj1);
myGroup.push(obj2);
currentPage.groups.add(myGroup);
which creates the group.
app.select(myGroup)
does NOT select the group -- instead i selects obj1 and obj2
(I want to make the group an anchored object, so I need to select, cut, select insertionPoint, paste -- but you can't paste 2 selected objects...)
Anyone now what's wrong?
Thanks