Reply To: script to detect overset text in indesign 2020

#14323377
Brian Pifer
Participant

Agree it’s probably easier to use to preflight as you can navigate to the textframe in question through the panel, but here you go.

var tfs = app.documents[0].textFrames;
var oversetPageNums = [];

for (var i = 0; i < tfs.length; i++) {
if (tfs[i].overflows) {
oversetPageNums.push(tfs[i].parentPage.name);
}
}

alert(oversetPageNums);

This article was last modified on December 27, 2019

Comments (0)

Loading comments...