is there a way to detect when an app quits?
i’m writting a script to launch unreal tournament 2004 without needing the cd in the drive every time i start it.
so far i have:
tell application "Toast 6 Titanium"
mount image alias "Recoil:Users:tristan:Documents:ut2004nocd.toast"
quit
end tell
tell application "Unreal Tournament 2004"
activate
end tell
one possible choice i suppose (which may work) is to just write a timer to wait like 10 seconds then tell the finder to unmount the diskimage.
is there a simple timer mechanism, if no one knows how to detect app quits?