Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 92406

Re: Re: Re: How to make at startup script that fits spread on open

$
0
0
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);
}

Viewing all articles
Browse latest Browse all 92406

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>