If you are a Ruby fan and have toyed with AppleScript in anyway to automate your Mac, take a look at RubyOSA a gift from Apple that provides a bridge for Ruby to the Apple Event Manager.

As an example, I created a quick script and screencasted the functionality. Here is the low down on what the script does: It opens OsiriX, grabs the current version, opens OsiriX, retrieves a an image from a remote url, selects the image, opens it, and tops it all off by exiting the application.

Screencast includes some functionality to talk to other applications with input from another (OsiriX 2 IChat).

Much Ado for 8 lines of code eh?

Osirix RubyOSA API

Osirix Ruby OSA Screencast

Example Script


Filed Under: