Hi, The following code works perfectly well on one of my machines, but
gives me an error on another: iTunesApp =
WScript.CreateObject("iTunes.Application"); pl =
iTunesApp.LibraryPlaylist
tracks = pl.Tracks
myTrack = tracks[0] myNewList = iTunesApp.CreatePlaylist("My New List")
myNewList.AddTrack(
I'd guess that one box has had makepy run for that type-library, but the
other hasn't. Look into using the win32com.client.gencache module to
programatically generate makepy support, and it should then happen
everywhere you run it.
HTH,
Mark
-Original Message-
From: [EMAIL PROTECTED]
Is it running the same version of itunes?
On 2/1/07, Mark Hammond <[EMAIL PROTECTED]> wrote:
I'd guess that one box has had makepy run for that type-library, but the
other hasn't. Look into using the win32com.client.gencache module to
programatically generate makepy support, and it should the