i develop an indesign extension with flash builder and cs extension builder 2.
is it possible to delete the overflow text of a textframe ?
myTextFrame.parentStory.contents = myTextFrame.contents;
You can have a try.
That's bad advice. It'll killl anything in the frame that's not text.
Something like this is better:
var idx = myTextFrame.characters.item(-1).index+1; myTextFrame.parentStory.characters.itemByRange(idx,-1).remove();