• 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: click using option down button 2 of window 1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: click using option down button 2 of window 1


  • Subject: Re: click using option down button 2 of window 1
  • From: Robert Poland <email@hidden>
  • Date: Mon, 27 Oct 2014 07:08:43 -0600

AMMENDED:
> On Oct 27, 2014, at 12:59:AM, Shane Stanley <email@hidden> wrote:
>
> On 27 Oct 2014, at 12:06 pm, Shane Stanley <email@hidden> wrote:
>>
>> You can download v1.0.2 of ASObjCExtras.framework here: <http://www.macosxautomation.com/applescript/apps/ASObjCExtras.html>.
>
> Blink and you missed it.
>
> I've decided to pull the clicking command. I suspect Robert's problem is a Script Editor bug, although it's impossible to be sure unless he posts the log. <snip>

Apparently you didn’t read my followup email.

Followup email>>
Not sure if this is part of the script; current application's SMSFord's clickAt:buttonPos clickType:(current application's SMSClickOnce) keysDown:(current application's SMSPressOptionKey)

Normally I use Smile. With Applescript editor I tried without it (line above) and display dialog y as string. Works, except it addresses the top left of the green button rather than the center.
>>

Events log>>
tell application "Finder"
	activate
end tell
tell application "System Events"
	get position of button 2 of window 1 of process "Finder"
		--> {1618, 201}
end tell
tell application "Script Editor"
	display dialog "201"
		--> {button returned:"OK"}
end tell
Result:
{button returned:"OK”}
>>

> Shane Stanley <email@hidden>
> <www.macosxautomation.com/applescript/apps/>

Robert Poland
Fort Collins CO


 _______________________________________________
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


  • Follow-Ups:
    • Re: click using option down button 2 of window 1
      • From: Shane Stanley <email@hidden>
References: 
 >click using option down button 2 of window 1 (From: Robert Poland <email@hidden>)
 >Re: click using option down button 2 of window 1 (From: Yvan KOENIG <email@hidden>)
 >Re: click using option down button 2 of window 1 (From: Shane Stanley <email@hidden>)
 >Re: click using option down button 2 of window 1 (From: Shane Stanley <email@hidden>)
 >Re: click using option down button 2 of window 1 (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: click using option down button 2 of window 1
  • Next by Date: Rép: click using option down button 2 of window 1
  • Previous by thread: Re: click using option down button 2 of window 1
  • Next by thread: Re: click using option down button 2 of window 1
  • Index(es):
    • Date
    • Thread