Obey Me iTunes
February 23, 2007 5:55 PM   Subscribe

Does this iTunes SDK provided by apple in 2004 work with iTunes 7 on Windows XP? I have tried via VBScript, JScript and I have also tried C# in Visual Studio 2005 to no avail.

In VBScript and JScript I get this error when trying to do the simplest of things:

var iTunesApp = WScript.CreateObject("iTunes.Application");

In Visual Studio I can't even add the reference to either version of the iTunes Type Library (1.6 and 1.7) that are in the COM tab under Add Reference. I get this error when I try.

Arrgh! This is driving me a little nuts! Any help is greatly apprecieated.
posted by zackola to Computers & Internet (4 answers total) 1 user marked this as a favorite
Have you tried adding it as a COM object using C#/VS 2005?
posted by phrayzee at 8:36 PM on February 23, 2007

Wait, nevermind. I think I got it wrong. Sorry.
posted by phrayzee at 8:37 PM on February 23, 2007

I have some JScripts I wrote in late 2005 that work fine with iTunes 7 on Win XP. They use exactly the same line you use to create the object. For them to work, iTunes has to be running already.
posted by fuzz at 1:26 AM on February 24, 2007

I wrote a Python application for iTunes that works fine with iTunes 7. If you can't get this to work (by running iTunes first), I would try reinstalling iTunes to get the classes re-registered.
posted by grouse at 5:00 AM on February 24, 2007

« Older Should I buy a studio?   |   Why is there a subtle Christian reference in The... Newer »
This thread is closed to new comments.