Trap Force Quit on OS X?
Thierry Arbellot
thierry.arbellot at wanadoo.fr
Thu Jul 29 05:34:16 EDT 2004
Have a look a the Apple developer site
I found some links that explain how to disable the Force Quit for an
application
Also, Force Quit send a kill signal to the application, perhaps the
signal could be intercepted in some way.
Hope it helps.
http://developer.apple.com/technotes/tn2002/tn2062.html#Section6
http://developer.apple.com/technotes/tn2002/
tn2062.html#NotShowUpInForceQuit
http://developer.apple.com/documentation/MacOSX/Conceptual/
BPRuntimeConfig/Concepts/PListKeys.html
On Wednesday, Jul 28, 2004, at 21:54 Europe/Paris, Devin Asay wrote:
> Does anyone know of a way to trap the Mac OS X Force Quit key sequence
> (Cmd-Opt-Escape) in Revolution? I want to come up with a way of
> preventing a user from force quitting unless they have a valid
> password. Trapping rawKeyDown, for example, doesn't work:
>
> on rawKeyDown keyCode
> if the optionKey is down and the commandKey is down then
> if keyCode = 65307 then --65037 = esc key
> -- ask for a password here
> pass rawKeyDown
> end if
> end if
> end rawKeyDown
>
> Devin
>
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list