Copy link to clipboard
Copied
I want a quick way to view a file at the smallest magnification, 3.13% I know I can click the pop-up menu on the lower left, but I'd prefer to use a shortcut or to record an Action and assign it a hotkey. Custom Views follow the document, so that won't work on every file I open. I think I used to have something like this, but I don't remember how it's done.
I found an old scale script. This is the modified version. You can record it in an action an give the action a shortcut.
// Zoom to 3,13% Based on script by Jongware: https://forums.adobe.com/thread/832333
if ( app.documents.length > 0 )
{
app.documents[0].views[0].zoom = 0.0313;
}
//
Copy link to clipboard
Copied
I found an old scale script. This is the modified version. You can record it in an action an give the action a shortcut.
// Zoom to 3,13% Based on script by Jongware: https://forums.adobe.com/thread/832333
if ( app.documents.length > 0 )
{
app.documents[0].views[0].zoom = 0.0313;
}
//
Copy link to clipboard
Copied
But as with so many old posts, the original is gone.
Copy link to clipboard
Copied
The net does not forget:
http://web.archive.org/web/20161107232510/https://forums.adobe.com/thread/832333
Copy link to clipboard
Copied
Ah, good!
Copy link to clipboard
Copied
Thanks again guys, but how do I run this in Illustrator?
Copy link to clipboard
Copied
Ah, that's great, thanks. I don't know how to script, so how do I get that to run in Illustrator? That is, how to I make it into a .jsx file that I can put in my Scripts folder?
Copy link to clipboard
Copied
Just copy the content, create a new text only file, paste it and save with the .js or jsx extension.
Copy link to clipboard
Copied
Awesome, thanks.