I'm looking for a way in Adobe InDesign CS5+ to make one element a child element of another (similar to what you can do with Edit -> Paste Into).
I can't use the app.pasteInto option unfortunately because in my script, the window is not visible.
Is there any other way of doing this?
Regards,
pieter