Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / October 2007



Tip: Looking for answers? Try searching our database.

Programming iTunes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marco - 09 Oct 2007 16:00 GMT
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!
Tom Harrington - 09 Oct 2007 16:24 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 - 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.