Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

A Zoom_to script

$
0
0

With a lot of help from Jongware, here's a little script to change the view zoom level for an AI document window.

 

////////////

 

var ZF = prompt ("Enter the zoom factor you wish to use, 1.00 = 100%", 1.00, "Zoom to New Level");

 

if ( app.documents.length > 0 ) {
app.documents[0].views[0].zoom = ZF;
}

 

////////////////


Viewing all articles
Browse latest Browse all 12845

Trending Articles



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