Hot on HuffPost Tech:

See More Stories
Free Switched iPhone app - try it now!
AOL Tech

Ruby meets AppleScript with RubyOSA

RubyOSAMost days I'm totally happy with my Windows PC, but some days I want a Mac.* I've got a thing for scripting of all kinds, and the days I most want a Mac, it seems, are when I see someone doing something really cool with AppleScript, like RubyOSA. To quote its web site, "RubyOSA is a bridge that connects Ruby to the Apple Event Manager infrastructure. In big words, it allows you to do in Ruby what you could do in AppleScript." It fetches information from OS X apps about their components and then maps them directly to Ruby classes and methods. While AppleScript isn't exactly fugly, I'm a big Ruby fan and seeing it do stuff like this really gets my vitals up. I would love to say "I wish someone would do this kind of thing for Windows apps," but the tragedy is that Windows has no standard scripting interface like AppleScript, and certainly none that is widely implemented.

*For the record, some days I want to ditch everything for Ubuntu instead. And now, back to your regularly scheduled not-quite-so-uber-geeky programming.

Tags: applescript, mac, open source, OpenSource, os x, osa, OsX, ruby, rubyosa, scripting