RubyOSA - don't forget the docs!


A really quick time for anyone on OSX.

RubyOSA is a great interface to the AppleScript APIs available to most applications. The only problem with it is that the APIs of many apps are undocumented, disappointingly especially for Apple's apps, so there's a handy little command that can generate these docs for you:

rdoc-osa --name (appname)


rdoc-osa --name iPhoto

This will create an rdoc-style document structure in a directory called "doc" in your current working directory, so just launch in the index.html file in your browser and get coding!

Really excellent stuff.