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 <[email protected]<mailto:[email protected]>> 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! https://quality.livecode.com/show_bug.cgi?id=4617 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. ...at 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 [email protected]<mailto:[email protected]> _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
