How to get anchor text into story?
Hi experts,
is that possible to get the anchor text, like this:

and get the text and then place it into text frame, like this:

thanks
regard
John
Hi experts,
is that possible to get the anchor text, like this:

and get the text and then place it into text frame, like this:

thanks
regard
John
Hi John,
As I understanding ur issue, Try this....
var myDocument = app.activeDocument;
app.findObjectPreferences = NothingEnum.nothing;
app.changeObjectPreferences = NothingEnum.nothing;
app.findObjectPreferences.anchoredPosition = AnchorPosition.ANCHORED;
var t =myDocument.findObject();
for(var i=0 ; i < t.length ; i++)
{
var tf=t;
if(tf.parent.constructor instanceof Character)
{
tf.texts.everyItem().move(LocationOptions.BEFORE, tf.parent);
tf.parent.contents = "\r";
}
}
Thanks and Regards
Ravindra
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.