I'm looking to make a program that would have an icon and drop-down menu on the status bar. Are there any resources on how to do this? I'd prefer building it in Ruby, but I also wouldn't mind doing it in Python, C++ or Bash (if possible).
-
It's called *status bar*, see [Status Bar Programming Topics](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/StatusBar/StatusBar.html) for details. – Stefan Aug 06 '13 at 07:52
3 Answers
Have you looked at MacRuby => http://macruby.org? Maybe something like this would do what you want: https://gist.github.com/245402/f4a7bc1c7b32bd3975d0203f22cd7a920af2fe56

- 10,082
- 5
- 45
- 73
Take a look at MacRuby, RubyMotion, or PyObjC.
For programming in Ruby, MacRuby is the open source version and precursor to RubyMotion (which recently added support for Mac development).
For programming in Python, take a look at PyObjC. PyObjC is a wrapper while MacRuby and RubyMotion are built directly on top of the objective-c runtime, so they will be more performant than PyObjC.

- 4,114
- 1
- 18
- 43
This may have appeared only in the time since the previous answers: As a Python option, have a look at Jared Suttles's rumps; the name signifies "Ridiculously Uncomplicated Mac os x Python Statusbar."

- 111
- 6