Find overflow Text
hi every 1
is there script find text boxes overflow text (like in indesign overset text)
in framemaker, sub columns (children of text frames) have overflowed property. can use see how works:
var doc = app.activedoc;
var flow = doc.firstflowindoc;
while (flow.objectvalid()) {
var textframe, subcol;
// skip unnamed flows.
if (flow.name !== "") {
// last textframe , last sub column.
textframe = flow.lasttextframeinflow;
subcol = textframe.lastsubcol;
if (subcol.overflowed === 1) {
alert ("textframe overflowed.");
}
}
flow = flow.nextflowindoc;
}
in reality, have more practical when find overflowed sub column, select , scroll it. please let me know if have questions or comments. thanks.
rick
More discussions in FrameMaker Scripting
adobe
Comments
Post a Comment