Question

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

Was it helpful?

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.

OTHER TIPS

Have you looked at MacRuby => http://macruby.org? Maybe something like this would do what you want: https://gist.github.com/245402/f4a7bc1c7b32bd3975d0203f22cd7a920af2fe56

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top