Script looking for internet explorer?

topic posted Wed, August 22, 2007 - 8:19 AM by  Pink
I have a bunch of scripts in my iTunes script folder that I use to ease the pain of organizing my music files.

Sometimes when I run some scripts (legacy scripts from my power PC but still OS X) they ask for the location of Internet Explorer before they will run.

Anyone know why they do this? It's really annoying that someone who made an AppleScript would ask/utilize IE.
posted by:
Pink
Los Angeles
  • Re: Script looking for internet explorer?

    Wed, August 22, 2007 - 8:38 AM
    OK, i looked at the script and the script isn't calling on IE explicitly.

    When I opened the script in Script Editor I got the same dialogue box. Is there some setting on my computer somewhere that is making this happen?
    • Re: Script looking for internet explorer?

      Wed, August 22, 2007 - 12:28 PM
      can you post a copy of the script?
      • Re: Script looking for internet explorer?

        Sun, September 2, 2007 - 5:29 PM
        Hey

        I finally got around to this.
        I was doing some experimenting and found some other scripts that were asking for the same thing - Where's Internet Exploiter?

        So I opened those script and the only thing that I saw that the guilty scripts had that the others didn't was a check to see what version of iTunes was running. So I removed this bit of scripting from the main culprit, the Extract Artist script that I wrote about here originally:

        property required_version : "2.0.3"

        tell application "iTunes"
        activate
        -- 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("www.apple.com/itunes/download/")
        return "incorrect version"
        end if
        end if

        I removed the snippet checking the version and now I don't get that stupid dialog box.

        Why I got that dialog box I don't know except there is a URL involved. But am interested in theories.

        So this should solve it.

Recent topics in "AppleScript"