This content has been marked as final. Show 4 replies
The AFrame object has a TextLoc property which leads to the paragraph in which the anchor is located. Does that answer your question?
Try this on the selected anchored frame:
#target framemaker var doc = app.ActiveDoc; var aFrame = doc.FirstSelectedGraphicInDoc; var pgf = aFrame.TextLoc.obj; alert (pgf.Name);
Please mark my answer as Correct. Thanks.