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 20:53:59 +0700
> On 2 Oct 2014, at 20:46, Robert Poland <email@hidden> wrote:
>
> This failed to compile with Mavericks/Smile.
For Mavericks, try this version:
tell application "System Events"
set frontapp to (name of processes whose frontmost is true) as string
tell application process frontapp
tell window 1
click button 2
end tell
end tell
end tell
Notwithstanding Shane's comments about coercing a list to a string, this worked well for me until I had to adjust for Yosemite's changes.
_______________________________________________
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