Re: Resize Photoshop Window
Re: Resize Photoshop Window
- Subject: Re: Resize Photoshop Window
- From: Stan Cleveland <email@hidden>
- Date: Fri, 09 Jul 2010 13:42:33 -0700
- Thread-topic: Resize Photoshop Window
On 7/9/10 12:30 PM, "Simon, Garry" wrote:
> Hi, does anyone know if it's possible to resize a Photoshop window using a
> script? Not resize the image, only the percent it is viewed on screen.
Hi Garry,
There's nothing in Photoshop using either AppleScript nor Javascript to
control that. AFAIK, the only options are these:
tell application "System Events"
activate application "Adobe Photoshop CS3"
keystroke "+" using command down -- zoom in
keystroke "-" using command down -- zoom out
keystroke "0" using command down -- fit screen
keystroke "0" using {command down, option down} -- actual pixels
end tell
Of course, you'd use the 'activate' command and just *one* of the four
'keystroke' commands at a time within a "System Events" tell.
HTH,
Stan C.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden