> Apple has made the iTunes COM SDK so Windows users can access iTunes
> via code. It uses COM, which is for Windows platform.
[quoted text clipped - 6 lines]
> opened iTunes, selected some music, changed the Tags for some, convert
> to other file types...
On Mac OS X you'll probably need to use AppleScript for something like
this. I have no idea if you can make AppleScript calls from Java.

Signature
Tom "Tom" Harrington
MondoMouse makes your mouse mightier
See http://www.atomicbird.com/mondomouse/
Gregory Weston - 09 Oct 2007 20:12 GMT
> > Apple has made the iTunes COM SDK so Windows users can access iTunes
> > via code. It uses COM, which is for Windows platform.
[quoted text clipped - 9 lines]
> On Mac OS X you'll probably need to use AppleScript for something like
> this. I have no idea if you can make AppleScript calls from Java.
You can:
<http://mactech.com/articles/mactech/Vol.21/21.04/AppleScriptandJava/inde
x.html>
I think, though, that the right solution depends a lot on the specific
goal. You want to "access iTunes via code" but what do you actually want
to do? If you're not doing stuff that involves significant (or any) user
interaction you can probably just write some double-clickable or
drop-launchable scripts. I can say that everything you listed above is
certainly available to AppleScript/AppleEvent clients.