Close Stack Cleanup

Bob Sneidar bobsneidar at
Fri Feb 5 14:28:55 EST 2021

Nice try but sadly it does not work. The message does not even get sent to the stack script.

Bob S

On Feb 4, 2021, at 5:22 PM, Mark Wieder via use-livecode <use-livecode at<mailto:use-livecode at>> wrote:

On 2/4/21 4:19 PM, Bob Sneidar via use-livecode wrote:
NVM I found this bug has already been submitted… IN 2008! LOL! Hey Kevin! <poke>

Looking at that, here's a (completely untested) suggestion:

The revIDEHandleCloseStackRequest handler is in the IDE backscript, so it's ready to be overridden. If you don't override it then it executes a revSaveCheck before moving on. If you override this command then you might get what you want. the risk of losing data...

so maybe in your stack script you have:
on revIDEHandleCloseStackRequest
 return "pass"
end revIDEHandleCloseStackRequest

That said, I agree with others that this isn't a Good Idea, and a cleaning routine in preOpenStack would do the trick nicely.

Mark Wieder
ahsoftware at<mailto:ahsoftware at>

More information about the use-livecode mailing list