adjustLayout Doesn't work when used in an Extendscript
In InDesign 2014 I used Document.layoutAdjustmentPreferences.enableLayoutAdjustment to make text boxes and images adjust to new measurements of a page and it worked pretty well.
In InDesign 2019 I understand it has been replaced with Document.adjustLayoutPreferences.enableAdjustLayout and I can trigger it with my script but it doesn't work as before - text boxes and images remains on the original place.
If I use the function manually, without scripting, it works fine, text and images adjusts to the new measurements.
5
votes
![](https://secure.gravatar.com/avatar/64fa300a971677802fab1cb8998aad54?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)