• 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 in Menu Bar 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Click in Menu Bar 2 (From: Bryan Harris <email@hidden>)
 >Re: Click in Menu Bar 2 (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: Click in Menu Bar 2
  • Next by Date: color and Mail
  • Previous by thread: Re: Click in Menu Bar 2
  • Next by thread: color and Mail
  • Index(es):
    • Date
    • Thread