FROM : Adam Knight
DATE : Fri Jul 28 20:40:36 2006
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_removed>> 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_removed>, <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>
>
>
>
>
DATE : Fri Jul 28 20:40:36 2006
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_removed>> 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_removed>, <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>
>
>
>
>
| Related mails | Author | Date |
|---|---|---|
| Adam Knight | Jul 27, 21:29 | |
| Adam Knight | Jul 28, 20:40 |






Cocoa mail archive

