Overriding system shortcuts in OSX
Bob Sneidar
bobsneidar at iotecdigital.com
Mon Nov 9 12:20:32 EST 2015
Oddly, when I have a Quit command in a custom menu, the option does not show up. I think this is because the Livecode menu has a Quit option already, which when using the browse tool will hilite when pressing CMD-Q, but will not actually quit. I have not tested this in a standalone yet.
I have no shutDownRequest commands in my scripts.
Bob S
On Nov 7, 2015, at 10:54 , J. Landman Gay <jacque at hyperactivesw.com<mailto:jacque at hyperactivesw.com>> wrote:
OS X traps and responds to its own system-wide shortcuts and does not pass them on to the app, so LC won't know about those.
But Cmd-Q behaves slightly differently. OS X does notify the app so it can put up save dialogs or do other housekeeping. If Cmd-Q isn't working, then there is probably something in your app that prevents it from quitting, like pending messages, open drivers, not passing "shutdownRequest", etc.
On 11/6/2015 4:20 PM, Bob Sneidar wrote:
It's my understanding that with OS X you cannot do this. I would like to make a quit hotkey so users can quit my application, but I cannot seem to get that to work.
Bob S
More information about the use-livecode
mailing list