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);
Rick
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);
Rick