The modifier keys don't generate keyDown events themselves. Otherwise, you'd
get two events when the user presses Command and Q.
Just wait until the Q key is pressed, and then test for the presence of the
command key using the commandDown property.
Bruce
---------
Date: Mon, 15 Aug 2005 10:21:05 -0400
From: Cole Tierney <[EMAIL PROTECTED]>
Subject: <lingo-l> no keyDown when commandDown? - MacOSX
Hi,
I've got an MX 2004 (10.1) projector that will not register keyDown
events while the command key is pressed. This is unfortunate, since
I've set exitLock = TRUE and would like to detect command - Q for
quit on the mac.
I've seen this behavior in earlier versions of director for mac when
a custom menu was installed. My workaround then was to add command
key combinations to my system menubar and react to them there, but
I'm not using a menubar this time.
Has anyone else noticed this?
--
Cole
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]