Skip to main content
dublove
Legend
March 23, 2024
Question

The script that overflows the automatic text is not working.

  • March 23, 2024
  • 24 replies
  • 1562 views

If there is no blank page in the back, create a new blank pages, and then expand the overflow text.
If there is a blank page in the back, the overflow text is directly expanded.

There is a script, but it is not working now.
Can you help me modify it?
Thank you

var myDoc = app.documents[0];
myDoc.textPreferences.smartTextReflow = true;
myDoc.textPreferences.deleteEmptyPages = false;
myDoc.textPreferences.limitToMasterTextFrames = false;
myDoc.textPreferences.addPages = AddPageOptions.END_OF_DOCUMENT;

24 replies

m1b
Community Expert
Community Expert
March 23, 2024

Hi @dublove, can you please clearly and exactly explain what you expected to happen when you ran that script?

- Mark

dublove
dubloveAuthor
Legend
March 23, 2024

Select the text framework and double -click the script, but there is no reaction.

Robert at ID-Tasker
Legend
March 23, 2024
quote

Select the text framework and double -click the script, but there is no reaction.


By @dublove

 

Maybe it doesn't work on already overset texts - and you need to "kick off the process"?