• 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: Andy Wylie <email@hidden>
  • Date: Mon, 25 Jun 2001 01:26:57 +1200

on 24/6/01 5:05 pm, email@hidden at email@hidden wrote:

> 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
________
tell me to quit
return
________

I don't know how you'd unmount the Disk and the only way to recover from
that is to reboot sorry.
_____________________________ Andy


References: 
 >Re: Need A Force-Quit (From: email@hidden)

  • Prev by Date: Re: Why isn't there a constant called finder?
  • Next by Date: Re: Compile a string?
  • Previous by thread: Re: Need A Force-Quit
  • Next by thread: Random seed -- Another strange thing
  • Index(es):
    • Date
    • Thread