Search code examples
macosrubymotionmacrubypyobjc

Program that uses Mac status bar


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).


Solution

  • 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.