Re: click using option down button 2 of window 1
Re: click using option down button 2 of window 1
- Subject: Re: click using option down button 2 of window 1
- From: Shane Stanley <email@hidden>
- Date: Mon, 27 Oct 2014 12:06:00 +1100
On 26 Oct 2014, at 9:34 pm, Shane Stanley <email@hidden> wrote:
I suppose I should add a similar command to ASObjCExtras.framework.
And you use it like this:
use AppleScript version "2.4" use scripting additions use framework "Foundation" use framework "ASObjCExtras"
activate application "Finder" tell application "System Events" to tell process "Finder" tell window 1 set buttonPos to position of button 2 end tell end tell
current application's SMSFord's clickAt:buttonPos clickType:(current application's SMSClickOnce) keysDown:(current application's SMSPressOptionKey)
Yosemite users should move from the deprecated ASObjC Runner to this. |
_______________________________________________
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