Can't figure out what you need exactly...need more details...by the way is this a general how-to-do question or are you seeking for a scripting solution...?
I'm looking for a guided Scripting solution if possible
I hope this is detailed enough:
I have an Object ( Textframe ) anchored in another Textframe. In my Script I select the anchored Object by its ObjectStyle, insert an element ( a hyperlink ), and I need to add the same Element at the position my Object is anchored too.
Here is a screenshot to clarify:
the right Textframe is my anchored Object, and the anchor is the position I need ( Blue Circle ).
Do you have any idea how to do this?
Let's say you've selected the anchor, then to get to the first paragraph in the anchored text frame:
Now let's say you've selected a paragraph of text inside an anchored object. To get to the paragraph that contains the anchored frame:
Thank you so much, that was exactly what I was looking for.
Somehow I wasn't even thinking of trying it this way.... Well, Indesign Scripting and me won't be best Buddies in a long time, i guess^^