Re: Click in Menu Bar 2
Re: Click in Menu Bar 2
- Subject: Re: Click in Menu Bar 2
- From: Bryan Harris <email@hidden>
- Date: Tue, 14 Jan 2014 04:55:25 -0600
Hi Koenig,On Jan 14, 2014, at 2:42 AM, koenig.yvan < email@hidden> wrote: Le 14/01/2014 à 06:44, Bryan Harris < email@hidden> a écrit : I don't own this tool so I tested with an other one and got this running code :
tell application "System Events" to tell process "Alfred 2" tell menu bar item 1 of menu bar 2 click it repeat if exists (name of menu item 3 of menu 1) then exit repeat end repeat click (menu item 3 of menu 1) end tell end tell
The loop is required because reaching the menu item proved to require some time.
Thanks for your help.
I tried yours as well, and it was slow as well. Do you know how to make it execute faster?
V/r, Bryan |
_______________________________________________
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