Sounds like jobu has pretty much answered the question, but onemore thing might help. If you put the name of the application directly in the command(ie. you don’t use a variable - tell application “Internet Explorer” …) the script will ask where the application is if it doesn’t recognize the name when you compile it. Sometimes the script needs the version of the application(“Internet Explorer 6.0”) When you choose the application you want Script Editor puts in the name it recognizes. If you still need the variable, you can just cut and paste what Script Editor put. Hope this helps.