RubyOSA is a bridge that connects Ruby to the Apple Event Manager, automatically populating the API according to the target application's scriptable definition.
Laurent Sansonetti
gem "rubyosa", "~> 0.4.0"