Warn before quit - anyone?

Karl Becker karl at karlbecker.com
Tue Oct 22 02:10:01 EDT 2002


Does anyone else have any ideas as to why my stack would not be pausing 
when I want to display a dialog before a program quits once someone 
selects Quit from the menu?  This is on OS X, too.  I have not been 
able to try it on OS 9 or Windows, though I'm guessing it's the same.

Thanks
Karl


On Friday, October 18, 2002, at 01:08  AM, Karl Becker wrote:

>
> On Wednesday, October 16, 2002, at 01:34  PM, depstein at att.net wrote:
>
>
>>> Re:  Karl Becker's problem:
>>
>> Have you checked for stray "Lock Messages" commands, perhaps in a 
>> subroutine
>> that's being called?
>
> Nope, I just searched through my entire script, the only things I lock 
> is the screen occasionally, but even that I don't do near where I > quit.
>
> I created a new stack, and made a quick script in the stack script of:
> on shutDownRequest
> --display an answer dialog, quit if the user clicks "Don't Quit"
> end shutDownRequest
> and when I hit command-Q, it did not pop up.  Is my copy of MetaCard 
> being weird or something?
>
> Karl
>
>>
>> David Epstein
>>
>>>> How can I get it to actually stop the Quit?
>>>
>>> See the shutDownRequest system message.
>>
>>> I've inserted it into my script, but for some reason it's not
>>> recognizing.  I put it in both the stack's script and the card 
>>> script,
>>> but it's not intercepting it at all.  Could those other handlers I 
>>> have
>>> be messing with it?
>>
>>> Karl
>> _______________________________________________
>> metacard mailing list
>> metacard at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/metacard
>>
>>
> --
> Go Bison!
> http://www.karlbecker.com
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
>
--
Go Bison!
http://www.karlbecker.com




More information about the metacard mailing list