• 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: Manually pull a menu down?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manually pull a menu down?


  • Subject: Re: Manually pull a menu down?
  • From: Adam Knight <email@hidden>
  • Date: Fri, 28 Jul 2006 13:40:36 -0500

Ding. That's the winner. Thanks. :) I just pass it my current menu from the statusItem and it appears. I have to manually highlight the status item as well, but that's ok (haven't looked yet, may not be ok, but of no consequence at this point).

(I read "user click" in the documentation for that and figured it wanted user interaction. I was wrong.)
--
Adam Knight
"Every man is guilty of all the good he didn't do." -- Voltaire




On Jul 27, 2006, at 5:33 PM, Matt Neuburg wrote:

On Thu, 27 Jul 2006 14:29:13 -0500, Adam Knight <email@hidden> said:
I have an NSStatusItem that I'd like to attach a hot key to, similar
to Spotlight.  I found the great little hot key library in the list
archives but after running over the archives and NSMenu/NSMenuItem
documentation I can't seem to find out how I might manually pull the
item down?

Not popUpStatusItemMenu:? (I've never written an NSStatusItem, so I know
from nothing about this; I'm just looking at the docs...) m.


--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>





_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Checking file modification dates in NSDocument
  • Next by Date: [NewB]How to open a titled document
  • Previous by thread: Manually pull a menu down?
  • Next by thread: Checkbox in NSOutlineView. Must move mouse > 3 pixels to toggle
  • Index(es):
    • Date
    • Thread