S
Stephen Schor
[Note: parts of this message were removed to make it a legal post.]
Howdy,
I just upgraded to leopard and thought it would be a good opportunity to
learn automation in OS X.
I started playing around with Ruby OSA (http://rubyosa.rubyforge.org/).
Many of the 'hello world' applications
look something like:
require 'rbosa'
itunes = OSA.app('iTunes')
track = itunes.current_track
puts track.name # "Over The Rainbow"
However - I can't interact with the *itunes* object unless I manually open
the application.
After I manually open it - I can call nifty methods like itunes.play() and
itunes.stop().
I tried calling itunes.open() but that wouldn't launch the application.
After combing over RDocs and the Ruby OSA mailing list - I didn't see
anything too helpful.
Does anyone have experience with the Ruby OSA library? Do you have a
different, favorite way to automate OS X?
What sites do you find most helpful in learning about OS X automation?
-Stephen
Howdy,
I just upgraded to leopard and thought it would be a good opportunity to
learn automation in OS X.
I started playing around with Ruby OSA (http://rubyosa.rubyforge.org/).
Many of the 'hello world' applications
look something like:
require 'rbosa'
itunes = OSA.app('iTunes')
track = itunes.current_track
puts track.name # "Over The Rainbow"
However - I can't interact with the *itunes* object unless I manually open
the application.
After I manually open it - I can call nifty methods like itunes.play() and
itunes.stop().
I tried calling itunes.open() but that wouldn't launch the application.
After combing over RDocs and the Ruby OSA mailing list - I didn't see
anything too helpful.
Does anyone have experience with the Ruby OSA library? Do you have a
different, favorite way to automate OS X?
What sites do you find most helpful in learning about OS X automation?
-Stephen