Computing.Net > Forums > Programming > iTunes VBS or Perl script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

iTunes VBS or Perl script

Reply to Message Icon

Name: tonysathre
Date: October 21, 2009 at 15:50:15 Pacific
OS: Windows XP x86 SP3
CPU/Ram: 4 GB
Product: Home built / HOME BUILT
Subcategory: General
Comment:

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

Thanks,

Tony



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: October 22, 2009 at 05:22:31 Pacific
Reply:

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
Else
	Wscript.Echo "This script requires iTunes 7"
	Wscript.Quit
End If

The script might run w/o issue.

EDIT: Obviously, make backups before trying it.


0

Response Number 2
Name: tonysathre
Date: October 27, 2009 at 14:59:18 Pacific
Reply:

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'


0

Response Number 3
Name: Razor2.3
Date: October 27, 2009 at 16:44:32 Pacific
Reply:

You could try it without the .1, but it kinda sounds like you don't have the COM iTunes objects required.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: iTunes VBS or Perl script

Need VB or .bat script for Textpad. www.computing.net/answers/programming/need-vb-or-bat-script-for-textpad/17282.html

Monitor log using SHELL or PERL www.computing.net/answers/programming/monitor-log-using-shell-or-perl/15615.html

VBS and Perl www.computing.net/answers/programming/vbs-and-perl/15916.html