Scripting iTunes and Explorer
Scripting iTunes and Explorer
- Subject: Scripting iTunes and Explorer
- From: Russell Lindenschmidt <email@hidden>
- Date: Mon, 24 Feb 2003 22:49:36 -0600
Howdy All,
Recently, I've been banging my head against a wall why iTunes kept
asking for Explorer when I ran some scripts I recently downloaded from
Apple (
http://www.apple.com/applescript/itunes/index.html)
Apparently inside each of the scripts there is a versioncheck that
calls to Explorer:
*snip*
-- VERSION CHECK
set this_version to the version as string
if this_version is not greater than or equal to the required_version
then
beep
display dialog "This script requires iTunes version: " &
required_version & ,
return & return & ,
"Current version of iTunes: " & this_version buttons {"Update",
"Cancel"} default button 2 with icon 2
if the button returned of the result is "Update" then
my access_website("
http://www.apple.com/itunes/download/")
return "incorrect version"
end if
*snip*
on access_website(this_URL)
ignoring application responses
tell application "Internet Explorer"
GetURL this_URL
end tell
*snip*
I subscribed to this list with the intent of asking you all what was
going on, but I got some help from the good people of MacScripter BBS.
But, in just the last day or so, I've been reading the other emails
concerning Apple and it's lack of support for scripting, especially for
those just starting out like myself. True, I'm not scripting Photoshop
or trying to script Mail, but when Apple itself calls to Explorer
versus the (from what I understand) better handleURL
"
http://www.apple.com/" , it would seem that unity, compatibility, and
ease of use is a little sparse in the Applescript world.
-My $0.02
-Russell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.