iTunes VBS or Perl script

Home built / HOME BUILT
October 21, 2009 at 15:50:15
Specs: Windows XP x86 SP3 , 4 GB
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. Does anyone have any experience scripting the latest version of iTunes using VBScript or Perl? Links to the scripts are below.

Perl version

VBScript version



See More: iTunes VBS or Perl script

Report •

October 22, 2009 at 05:22:31
I don't have the time to learn the iTunes COM interface, but I suspect if you remove this from the VBScript:
Dim Reg1
Set Reg1 = new RegExp
Reg1.Pattern = "^7"
if Reg1.Test(vers) Then
	' yay
	Wscript.Echo "This script requires iTunes 7"
End If

The script might run w/o issue.

EDIT: Obviously, make backups before trying it.

Report •

October 27, 2009 at 14:59:18
Here is the error I get when running it with, and without your suggested changes:

(67, 1) Microsoft VBScript runtime error: ActiveX component can't create object: 'iTunes.Application.1'

Report •

October 27, 2009 at 16:44:32
You could try it without the .1, but it kinda sounds like you don't have the COM iTunes objects required.

Report •

Related Solutions

Ask Question