I want to release hide anchor marker in the text frame. Please refer screenshot.
I developed script with the help of forum. But it not able to release anchor in overset text frame.
If anchor marker is hided in the text frame I not able to release the anchor marker with the help of below script.
Could anyone help me for my request.
var myPgItems = app.activeDocument.allPageItems, t;
var myTextFrames = app.activeDocument.textFrames.everyItem().getElements()
for(i=0; i<myTextFrames.length; i++)
var myTF = myTextFrames[i]
if(myTF.overflows == true)
while( t = myPgItems.pop() )
(t.parent instanceof Character) &&
Please find the screenshot.
Thanks in advance
If t.parent.overflows = true
your t.isValid = false, so whole statement fails.
Released anchor means object placed in its current position with no anchor.
But there is no valid object and no current position...