Dane Jensen
12/25/2007 10:08:00 PM
On Dec 25, 2007, at 3:55 AM, Ryan Davis <ryand-ruby@zenspider.com>
wrote:
>
> On Dec 24, 2007, at 19:23 , Stephen Schor wrote:
>
>> 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.
>
> I dunno about rubyosa, but applescript uses 'activate'.
Indeed. itunes.activate will start it if it's not open.