Applescript and InDesign - insert group into text frame
Hi Experts,
I have a very specific question.
I am using applescript to automate InDesign for a while, but now I got stucked.
So, basically my problem is that in the InDesign user interface I can easily insert a group/graphic/text frame/etc into an other text frame with no problem. See picture below:

From Applescript I can read out the content of the text frame, which says it is still "test" only, but anyway, I can find the inserted object in the page items of the text frame. So If there is a text frame that contains such an object or page item, I can read out.
BUT, and here is the question: how can I insert the object into the text frame using Applescript? It's not enough if I just anchor the objects together, because in the user interface of InDesign I insert the object directly into the content.
Does that make sence? Can someone help me out?
Thank you very much in advance.
Ravast
