Re: Zoom - How to get/set in Photoshop CS?
Re: Zoom - How to get/set in Photoshop CS?
- Subject: Re: Zoom - How to get/set in Photoshop CS?
- From: Michael Cytrynowicz <email@hidden>
- Date: Sun, 22 May 2005 11:11:38 +0100
Hi list and kai (kai, thanks again!),
I should have been more precise. Kai's solutions work for Photoshop's preset
magnifications (e.g., fit in window, 100%), or for pre-set steps 8as kai has
indicated at the bottom of his reply).
What I need to do, however, is to set the zoom magnification to, precisely,
116.3%
And that is because at this mag, and for my screen resolution, an 8x10 image
to be printed measures, in the screen, exactly 8x10.
That is, in terms of size at least, it is wysiwyg.
Any thoughts?
Mike C
> On Saturday, May 21, 2005, at 02:28 pm, Michael Cytrynowicz wrote:
>
>> I've been trying this for quite some time, can't figure how to do it...
>>
>> AppleScript: In ScriptDebugger, i can't see anything at all related to
>> zoom
>> in/out, or set the zoom to a certain value. Funny, because "zoom" and
>> "zoomed" seem to be OK words (or maybe its in some Addition?)
>>
>> I also tried a PS action, the scripting listener, UI scripting with UI
>> Browser, javascript, nothing. Nada. From Adobe's PS scripting forum:
>> nothing.
On Sat, 21 May 2005,
kai <email@hidden> responded:
> I tried a few things in PS7, Mike, and came up a little short, too.
> However, you might be able to get something like this working in CS:
>
> ----------------
>
> tell application "System Events" to tell process "Adobe Photoshop 7.0"
> -- change name
> set frontmost to true
> keystroke "0" using {command down} (* Fit on Screen *)
> end tell
>
> ----------------
>
> Within the above tell block, the keystroke statement can be modified as
> required:
>
> ----------------
>
> keystroke "+" using {command down} (* Zoom In *)
>
> keystroke "-" using {command down} (* Zoom Out *)
>
> keystroke "0" using {option down, command down} (* Actual Pixels *)
>
> ----------------
>
> Using a combination of keystrokes, it should be possible to achieve
> various zoom options. For example, this gives me a zoom of 25%:
>
> ----------------
>
> tell application "System Events" to tell process "Adobe Photoshop 7.0"
> set frontmost to true
> keystroke "0" using {option down, command down}
> keystroke "----" using {command down}
> end tell
>
> ----------------
>
> This technique allows access to the available zoom range here: 0.05%,
> 0.1%, 0.2%, 0.3%, 0.4%, 0.5%, 0.7%, 1%, 1.5%, 2%, 3%, 4%, 5%, 6.25%,
> 8.33%, 12.5%, 16.67%, 25%, 33.33%, 50%, 66.67%, 100%, 200%, 300%, 400%,
> 500%, 600%, 700%, 800%, 1200% & 1600%.
>
> ---
> kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden