| Whilst this might be true, iTunes on OS X doesn't expose anything via COM, so you're still going to have to use Apple Events via AppleScript or similar.
On 11 Oct 2007, at 01:53, Ryan Schipper wrote: Just to clarify, COM, while a Microsoft product and used mostly on the Microsoft platform, is NOT Windows specific. It is actually an architecture for implementing software components in such a way that interprocess communication is language-neutral. ie. You can use COM on any architecture it has been implemented.
That includes Mac OSX ( http://www.macdevcenter.com/pub/a/mac/2004/04/16/com_osx.html ) as part of the Core Foundation library.
There's also a handy free Java bridge I turned up after a few seconds on google. ( http://jsegue.sourceforge.net/ ) Apparently, there's an even fancier COM bridge to Java but it's proprietary and commercially-licensed so I imagine it's outside scope for a hobby project.
Anyway, while the others have correctly mentioned Applescript and Automation as possible solutions, you should be able to have a quick look at the above links and maybe find something more appropriate. Or more fun!
Aside: Hello to the list - long time reader, first time submitter.
Ryan Schipper
On 10/9/07, Magnobaldo Hermenogildo < email@hidden> wrote:Apple has made the iTunes COM SDK so Windows users can access iTunes via code. It uses COM, which is for Windows platform. I had an application made on Microsoft Access using VBA and I would like to do another one in Java, on my Mac. I cannot use this SDK because I don't use Windows anymore. How can I access the "iTunes API"? I would like to use Java for this. If I cannot use Java, is there any other way? On Windows, for example, the MS Access Application automatically opened iTunes, selected some music, changed the Tags for some, convert to other file types… =( Please help me! _______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list ( email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. Help/Unsubscribe/Update your Subscription:
|