MacRuby (http://macruby.org) is what you want. Here's a tutorial on OX Automation with it: http://arstechnica.com/apple/2011/09/tutorial-os-x-automation-with-macruby-and-the-scripting-bridge Farrel -- Aimred - Ruby Development and Consulting http://www.aimred.com