Re: Option key down in Yosemite
Re: Option key down in Yosemite
- Subject: Re: Option key down in Yosemite
- From: 2551 <email@hidden>
- Date: Thu, 02 Oct 2014 23:16:29 +0700
Alas, none of the suggestion or my own tinkerings are consistently working. Script Editor and XCode seem happy enough to obey, but Kindle.app is having none of it:
Error Number:Kindle got an error: Can’t get zoomed of window 1.
More interestingly, going back to the script I started with and the failure of the 'key down option' command, this:
delay 1 tell application "System Events" set frontapp to (name of processes whose frontmost is true) as string
tell application process frontapp try key down option delay 0.25 tell front window's button 2 to perform action "AXPress" end try option key up end tell end tell
produces interesting results in that you can actually see in the GUI that the green button changes to the + sign, indicating that it is registering the option key press. However, the window fails to respond in the same way as it does when you do it "for real".
Curious, indeed.
|
_______________________________________________
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