• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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
Tools

Views

290

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

Community Expert , 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;  
}  
//

Votes

Translate

Translate
Adobe
Community Expert ,
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;  
}  
//

Votes

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
Community Expert ,
Apr 26, 2022 Apr 26, 2022

Copy link to clipboard

Copied

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

Votes

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
Community Expert ,
Apr 26, 2022 Apr 26, 2022

Copy link to clipboard

Copied

Votes

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
Community Expert ,
Apr 26, 2022 Apr 26, 2022

Copy link to clipboard

Copied

Ah, good!

Votes

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?

Votes

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?

Votes

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
Community Expert ,
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.

Votes

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.

Votes

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