RE: ask/answer annoyance

2009-03-10 Thread Hugh Senior
Since it's modal, the window is blocking and has to close before anything
can be done at all outside the modal. The only thing that springs to mind is
you trap cmd.period in the modal itself.

2p

/H


From: Richard Gaskin ambassa...@fourthworld.com
Subject: ask/answer annoyance,

It's bugged me for years that we can't exit a loop if we have an answer
or ask dialog in it.  In HC and SC you just type command-. and it
exits to top, but in MC/Rev it just stays in the loop, requiring you to
either keep hitting OK a thousand times or force-quitting.  Arg.

I've tried modifying my answer dialog, and even tried using a
frontScript, but it appears that trying to use exit to top for the
dialog doesn't really exit to top if it's being called from a loop; it
just keeps being called.

Am I missing something, or is this an engine bug?

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: ask/answer annoyance

2009-03-10 Thread Richard Gaskin

Hugh Senior wrote:

Since it's modal, the window is blocking and has to close before anything
can be done at all outside the modal. The only thing that springs to mind is
you trap cmd.period in the modal itself.

2p

/H


That's what I did, right in the answer dialog. :(

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 ambassa...@fourthworld.com   http://www.FourthWorld.com




From: Richard Gaskin ambassa...@fourthworld.com
Subject: ask/answer annoyance,

It's bugged me for years that we can't exit a loop if we have an answer
or ask dialog in it.  In HC and SC you just type command-. and it
exits to top, but in MC/Rev it just stays in the loop, requiring you to
either keep hitting OK a thousand times or force-quitting.  Arg.

I've tried modifying my answer dialog, and even tried using a
frontScript, but it appears that trying to use exit to top for the
dialog doesn't really exit to top if it's being called from a loop; it
just keeps being called.

Am I missing something, or is this an engine bug?

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard




___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


RE: ask/answer annoyance

2009-03-10 Thread Robert Brenstein

On 10.03.09 at 20:11 + Hugh Senior apparently wrote:

Since it's modal, the window is blocking and has to close before anything
can be done at all outside the modal. The only thing that springs to mind is
you trap cmd.period in the modal itself.

2p

/H



Modifying the dialog to trap cmd-. is doable. However, the problem is 
how to pass that cmd-. further -- as Richard explained, the exit to 
top does not work as expected, that is the script exists to top 
within the dialog stack while the calling script continues.


I wonder whether it is possibly to send cmd-. (in time) while closing 
the dialog. It should either carry over to the loop below or 
auto-cancel the next dialog popping up.


A workabout I use is to have a cancel button in such a dialog and 
check for cancel in the looping script.


Robert
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: ask/answer annoyance

2009-03-10 Thread Richard Gaskin

Robert Brenstein wrote:

On 10.03.09 at 20:11 + Hugh Senior apparently wrote:

Since it's modal, the window is blocking and has to close before anything
can be done at all outside the modal. The only thing that springs to 
mind is

you trap cmd.period in the modal itself.

2p

/H



Modifying the dialog to trap cmd-. is doable. However, the problem is 
how to pass that cmd-. further -- as Richard explained, the exit to top 
does not work as expected, that is the script exists to top within the 
dialog stack while the calling script continues.


I wonder whether it is possibly to send cmd-. (in time) while closing 
the dialog. It should either carry over to the loop below or auto-cancel 
the next dialog popping up.


A workabout I use is to have a cancel button in such a dialog and check 
for cancel in the looping script.


Yes, at the moment it appears that canceling within the script that 
calls a modal is necessary for exit to top to be honored.  There's a 
request to change that to honor it from wherever it's called, but in the 
meantime we have to handle it in the calling handler.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 ambassa...@fourthworld.com   http://www.FourthWorld.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard