Hi Mark
your code works fine, but only after saving the stack as standalone .
Before saving as standalone the shutDownRequest code doesnt trap anything and it's still possible to exit the app using the command-q shortcut.
I've tried the code on a Mac, i still must try it on Windows to see if it ...
Search found 2 matches
- Tue Apr 08, 2008 7:38 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: disable command-q shortcut
- Replies: 2
- Views: 3662
- Mon Apr 07, 2008 7:22 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: disable command-q shortcut
- Replies: 2
- Views: 3662
disable command-q shortcut
I first excuse for the mistakes: it is because english is not my mother language.
I need to disable the possibility to use command-q shortcut to quit an application to prevent user doing this.
I tried this code in the stack script and in the card script (app has only one card)
on commandkeydown ...
I need to disable the possibility to use command-q shortcut to quit an application to prevent user doing this.
I tried this code in the stack script and in the card script (app has only one card)
on commandkeydown ...