Option key down in Yosemite
Option key down in Yosemite
- Subject: Option key down in Yosemite
- From: 2551 <email@hidden>
- Date: Thu, 02 Oct 2014 17:02:26 +0700
Is this a bug, or am I making an error?
In 10.10, we now have to press the option key down while clicking the green button to get the 'zoom' behaviour on full-screen enabled apps.
My attempts to simulate that in AS have failed, with the option key down command failing to have any effect. This script produces exactly the same effect with or without the two option key commands, i.e., Xcode goes into full screen mode. Not only is that now the desired effect, but once in full-screen mode the app is out of range of any 'frontmost' call, which I need in the full version of the script.
Anyone got any ideas?
tell application "System Events" option key down delay 0.25 try tell application process "Xcode" tell window 1 tell button 2 click end tell end tell end tell end try option key up end tell
|
_______________________________________________
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