• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Resize Photoshop Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Resize Photoshop Window (From: "Simon, Garry" <email@hidden>)

  • Prev by Date: Re: Odd date string
  • Next by Date: Automator running un-requested
  • Previous by thread: Resize Photoshop Window
  • Next by thread: Automator running un-requested
  • Index(es):
    • Date
    • Thread