tags:

views:

130

answers:

1

I want to put a dynamically generated icon (not static image) + possibly a tiny bit of text in OSX menu bar.

If possible I'd prefer to do it from Ruby or some other convenient scripting language, but I'll deal with Objective C if that's the only way.

How do I do that?

+1  A: 

Have a look at MacRuby: virtually everything you can do from Obj-C you can also do from MacRuby.

As for details, look for an Obj-C tutorial, and work from that.

Oh, and the term you will need to use is NSStatusItem.

Matthew Schinckel
MacRuby doesn't have 10.5 binaries, and won't compile against version of llvm from MacPorts. Why such problems happen all the time on OSX, and never on any Linux?(but I figured out some RubyCocoa hack for it)
taw