Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manually pull a menu down?



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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.