My trick works… just a case of getting the script to play ball.
So far, I have a found a script by Shirley Hopkins (www.yourscriptdoctor.com) that, when run, places an anchored object based on presets in the script. Her script has type in the anchored object, but I have changed it to a plain ol’ rectangle… but because my scripting skills are very basic trial-and-error stuff that makes most scripters facepalm, I’m having real difficulty pasting the grouped objects (that have their unique object styles) into the rectangle via the script. I’m sure the scripters out there could tackle it, no worries.
Doing it step by step (i.e. running the modded script that generates the no fill/stroke anchored object in the right spot, and then clicking on it and going “paste into”, and filling frame to fit content) it works, and the object styles can be manipulated individually via the object styles menu and the object styles change independently, so the proof of principle is there.
So it is possible, but not with my skillset unfortunately!
Colin