Hallo,
Preflight verwenden: Der startet erst, wenn Smart Text reflow beendet ist:
**/
// save old preflight options, add new ones
var oldPreflight = app.activeDocument.preflightOptions.properties;
app.activeDocument.preflightOptions.preflightOff = false;
// wait a maximum of 40 second for the preflight process. Before it runs, the (not so)Smart Text Reflow should kick into action.
app.activeDocument.activeProcess.waitForProcess(40);
//stop preflight for a bit more performance?
app.activeDocument.preflightOptions.preflightOff = true;
//now check if story overflows? (maby you have a very large cell in a table? some wierd keep options? bad things happen