Application quit on OS X
pete at mollysrevenge.com
Fri Jan 20 16:00:05 CST 2012
OK, thanks Mark and Jacque. It sounds like the shutdownRequest message
will do the job - if I don't pass it, the application should stay open.
I'll have to figure out how to deal with the user selecting Quit from the
Application menu, or the user shutting down their computer since I really
do need to quit then. Plus there are some cryptic comments in the
dictionary about "some care required" to implement this correctly by
installing a library or backscript.
This just seems overly complicated to deal with a pretty standard way of
working for OS X applications.
On Fri, Jan 20, 2012 at 12:52 PM, J. Landman Gay
<jacque at hyperactivesw.com>wrote:
> On 1/20/12 2:00 PM, Pete wrote:
>> Thanks Jaccue. So I can't use a closeStack or shutdown message handler to
>> control this?
> Old habits die hard so I've always used the dummy stack method. But now
> that you mention it, yes, I think you could trap the closeStackRequest
> message. That would be easier and smarter too.
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
Molly's Revenge <http://www.mollysrevenge.com>
More information about the use-livecode