Auto text flow script
Does anyone have a script that turns off the smart text flow preference? I'd like to apply the script when the document is opened.
Thanks
Does anyone have a script that turns off the smart text flow preference? I'd like to apply the script when the document is opened.
Thanks
Thanks for being patient.
It's still not working after i moved it to the startup scripts folder. I'm saving it down from Visual Studio Code. Could it be something wrong there. Here is the code copied out of VSC -
It's still not working after i moved it to the startup scripts folder.
Did you restart InDesign? Try adding an alert to test the listener, and include the targetengine line. Change to this and restart after you add it to the startup folder:
#targetengine "smartText";
app.addEventListener("afterOpen", changeSmartText);
function changeSmartText(e) {
if (e.parent.constructor.name == "LayoutWindow") {
e.parent.parent.textPreferences.smartTextReflow = false;
alert("This document's Smart Text Reflow has been set to: " + e.parent.parent.textPreferences.smartTextReflow)
}
};
I get this everytime I open a document:

Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.