Need A Force-Quit
Need A Force-Quit
- Subject: Need A Force-Quit
- From: email@hidden
- Date: Sat, 23 Jun 2001 11:53:22 EDT
I hav a stay-open idle handler that monitors whether browser type
applications are open precesses, or not. I know you're not going to believe
this, but... occasionally Internet Explorer unexpectantly quits <grin>. When
it does, the cache file on a ram disk stays open and the idle handler cannot
remove the ram disk when no more browser applications are using the ram disk
because of an error -10000 saying the disk is in use. Is there a wat to force
the (ram) disk to unmount or force the stay-open application to quit. Either
way will solve my dilema; howvever forcing the disk to unmount would be best.
Thanks, in advance... Jim
try
stuff here...
on error errorName number errorNumber
--> timeout
if errorNumber = -1712 then
--> return to idle handler
return
else if errorNumber = -10000 then
--> force-quit something
need something here... --> under construction
else
beep 3
display dialog "Error Number " & (errorNumber as string) & " " &
errorName
end if
end try