Can I record an Action or set a shortcut to view a file at 3.13%?

Explorer ,
Apr 26, 2022 Apr 26, 2022

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.

TOPICS
How to , Tools

Views

127

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Apr 26, 2022 Apr 26, 2022
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; } //

Likes

Translate

Translate
Adobe Community Professional ,
Apr 26, 2022 Apr 26, 2022

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;  
}  
//

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 26, 2022 Apr 26, 2022

Copy link to clipboard

Copied

But as with so many old posts, the original is gone.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 26, 2022 Apr 26, 2022

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 26, 2022 Apr 26, 2022

Copy link to clipboard

Copied

Ah, good!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 26, 2022 Apr 26, 2022

Copy link to clipboard

Copied

Thanks again guys, but how do I run this in Illustrator?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 26, 2022 Apr 26, 2022

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?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 26, 2022 Apr 26, 2022

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 26, 2022 Apr 26, 2022

Copy link to clipboard

Copied

LATEST

Awesome, thanks.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines