Tried to do as an example in Indesign scripting guide and it works just as fine as the other: #targetengine "zoom" main(); function main() { var myEventListener = app.eventListeners.add("afterOpen", myAfterOpenHandler); } function myAfterOpenHandler(myEvent) { var myDoc = myEvent.parent; myD.layoutWindows[0].zoom(ZoomOptions.FIT_SPREAD); }
↧
Re: Re: Re: How to make at startup script that fits spread on open
↧