• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need A Force-Quit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need A Force-Quit


  • Subject: Re: Need A Force-Quit
  • From: email@hidden
  • Date: Sun, 24 Jun 2001 01:05:01 EDT

In a message dated 06/23/01, Andy Wylie <email@hidden> writes:

<<
on 24/6/01 3:53 am, email@hidden at email@hidden wrote:

> else if errorNumber = -10000 then
> --> force-quit something
return 10000
_____________________________ Andy
>>

Thanks, Andy... this keeps error message from appearing, but does not force
unmounting of disk or force-quit the stay-open application. Any other ideas
for the following?.. Jim

------------- posted 6/23/01

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


  • Follow-Ups:
    • Re: Need A Force-Quit
      • From: Andy Wylie <email@hidden>
  • Prev by Date: Re: FTP scripting
  • Next by Date: Script Editor lockups?!
  • Previous by thread: Re: Need A Force-Quit
  • Next by thread: Re: Need A Force-Quit
  • Index(es):
    • Date
    • Thread