Re: Option key down in Yosemite
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