• 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: Option key down in Yosemite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Option key down in Yosemite


  • Subject: Re: Option key down in Yosemite
  • From: Christopher Stone <email@hidden>
  • Date: Thu, 02 Oct 2014 13:41:30 -0500

On Oct 02, 2014, at 08:53, 2551 <email@hidden> wrote:
For Mavericks, try this version:
______________________________________________________________________

I think I'd want to get a little more specific to avoid any potential pitfalls.

-------------------------------------------------
tell application "System Events"
  tell front window of (first process whose frontmost is true)
    click (first button whose subrole is "AXZoomButton")
  end tell
end tell
-------------------------------------------------

I rarely use the zoom button, as I'd generally rather have more exact control over the window position, height, and width.  You can of course do this with System Events as well.

Phil: the Kindle app has no dictionary at all, so it doesn't surprise me that it balks when talking to it directly.

--
Take Care,
Chris

 _______________________________________________
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

  • Follow-Ups:
    • Re: Option key down in Yosemite
      • From: 2551 <email@hidden>
References: 
 >Option key down in Yosemite (From: 2551 <email@hidden>)
 >Re: Option key down in Yosemite (From: Shane Stanley <email@hidden>)
 >Re: Option key down in Yosemite (From: 2551 <email@hidden>)
 >Re: Option key down in Yosemite (From: Shane Stanley <email@hidden>)
 >Re: Option key down in Yosemite (From: 2551 <email@hidden>)
 >Re: Option key down in Yosemite (From: Shane Stanley <email@hidden>)
 >Re: Option key down in Yosemite (From: Robert Poland <email@hidden>)
 >Re: Option key down in Yosemite (From: 2551 <email@hidden>)

  • Prev by Date: Re: OFF TOPIC: Shell Shock for my system MacOS 10.6.8 bash version
  • Next by Date: Re: Option key down in Yosemite
  • Previous by thread: Re: Option key down in Yosemite
  • Next by thread: Re: Option key down in Yosemite
  • Index(es):
    • Date
    • Thread