The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: microsoft.public.scripting.vbscript
From: "Steve" <cerberu...@gmail.com>
Date: Sun, 25 Oct 2009 05:05:36 -0400
Local: Sun, Oct 25 2009 9:05 am
Subject: Re: iTunes script
tonysathre wrote: The script *should* work with iTunes 7 *and later* but the version test > I've been looking for a way to embed the iTunes downloaded album art > into the actual MP3 files so when I'm streaming my music from home > computer to my iPhone using Simplify Media, it shows the artwork. I > have found a script that can automate this, but apparently it only > works on iTunes 7. The COM interface, or ActiveX controls must be > different. Could anyone port this script to work with iTunes 9? The > script is below. is too simple-minded: > Dim vers The test only accepts version strings that start with "7"; it assumes > vers = iTunesApp.Version > Dim Reg1 > Set Reg1 = new RegExp > Reg1.Pattern = "^7" > if Reg1.Test(vers) Then > ' yay > Else > Wscript.Echo "This script requires iTunes 7" > Wscript.Quit > End If that other versions must be earlier. (BTW, similar simple-mindedness is the same reason that Opera 10.00 identifies itself as "Opera/9.80" in its browser identification string--scripts that just tested the first digit of the version would decide that the current version is actually version 1.) This test worked fine when iTunes V7.0 was bright and shiny. If the You can download the iTunes COM SDK from -- Horse sense is the thing a horse has which keeps it from betting on You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||