Date: Mon, 19 Sep 1994 22:36:05 -0800 From: Frank Leahy <fjl@NETCOM.COM> Subject: Re: Help disable Command Q in Projector! >I need to protect a Mac projector from being inadvertantly quit by using >command-q since I have a lot of editable text castmembers open in which >the users will hopefully be taking notes. I have supplied a nice QUIT >button which saves the projector prior to quitting but you know how >users can be, they fall back on old habits like Command-Q. >
Here's the magic incantations.
set the exitLock = TRUE set the keyDownScript to "StdKeyDownScript"
on StdKeyDownScript
if commandDown = TRUE then
if the key = "q" then
DoMyQuit
else if the key = "s" then
DoMySave
end if
end if
end