trapping quit

Ken Norris pixelbird at interisland.net
Thu Mar 20 12:03:01 EST 2003


**********
> Date: Thu, 20 Mar 2003 14:47:39 +0000
> From: Graham Samuel <livfoss at blueyonder.co.uk>
> Subject: Re: trapping quit
> 
> I've been slightly out of circulation lately, but my scan thru all
> the recent digests didn't come up with any reply to the following:
> 
> On Mon, 17 Mar 2003 17:08:48 -0700, Devin Asay <devin_asay at byu.edu> wrote:
>> 
>> I'm not getting something. I want to trap the quit message and do some
>> stuff before my program quits. I finally settled on trying the
>> shutdownRequest message. When I handle it and pass it in the
>> development environment, it works as expected: it does the stuff I want
>> it to do then quits Revolution. But when I compile the stack as a
>> standalone, the shutdownRequest message gets executed, but the quit
>> never happens. I even tried adding an explicit quit call to the
>> shutdownRequest handler. The resultant standalone still will not quit.
----------
Hi Graham,

How about:

send  "quit" to Revolution

...just an idea.

Ken N.




More information about the use-livecode mailing list