Can anyone tell me if there’s a way to detect if the user deleted IE on their Mac via Applescript? Since the can “move” IE to a different spot, I don’t know that I can do this via file-path checking. Or can I?
Regardless of where you move an application, it can always be referenced by it’s application file ID. IE’s file id is “MSIE”, so just look for that…
tell application "Finder"
try
if exists application file id "MSIE" then
set iePath to application file id "MSIE"
display dialog ("IE Located at: " & return & iePath & "") as string
end if
on error --> In case it's not found
display dialog "Couldn't find IE!"
end try
end tell
j