Skip to Content

Submit your nominations for the Luxist Awards' Best in Decor
AOL Tech

Filed under: Developer, Macintosh, Apple, Open Source

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.

Reader Comments (Page 1 of 1)

Featured Time Waster

The World's Hardest Game 2.0 - Time Waster

So, just how good at time waster games are you? Think you've got the stuff? Well, The World's Hardest Game 2.0 doesn't think you do. Yes, amazingly, it's possible to have a sequel to a game called "The World's Hardest Game". It doesn't seem logically possible, since if the first one was actually the world's hardest, how could another one come along and share the moniker? It made me doubt the name in the first place. That is, until I tried the game. The mechanics of the game are very simple. You are a small red square, ...

View more Time Wasters

Featured Galleries

Defective by Design, London: Protest Pictures
Microsoft Security Essentials
Chromium Pre-Alpha on CrunchBang Linux
Safari 4 Beta
10 Firefox themes that don't suck
IE8 RC1
Download Squad at the Crunchies After-Party
Download Squad at the Crunchies
WordPress 2.7
Cooking Mama: Mama Kills Animals
Windows 7 Hands On
Comodo Internet Security
Android First-look: Amazon.com MP3 Store
Android First-look: Twitroid
Google Reader Android
Android Hands-On
Twine 1.0
Photoshop Express Beta
Mozilla Birthday Cake
Palm stuff
Adobe Lightroom 1.1

 


Follow us on Twitter!

Flickr Pool

www.flickr.com

More Tech Coverage

AOL Radio