• 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: 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.
-1728


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

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>)

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