have a script that will trash certain items on the hard drive. To be safe I want to make sure no applications are running especially the one I want to remove.
The problem is, some applications like IE don't respond to the quit event under OS 9.2.2 using Applescript 1.8.3
Here's what I have, and it returns that Internet Explorer doesn't understand quit
tell application "Finder"
try
set visible of every process to true
end try
set app_list to name of every process whose visible is true
repeat with anApp in app_list
tell anApp to quit
end repeat
end tell
Is there any better way to close all running applications? This will run under OS 9 only so I'm not worried about X compatibility
Esentially I only want my script and the finder running when it begins to remove files from the hard drive.