At 12:36 PM -0400 8/15/05, [EMAIL PROTECTED] wrote:
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.

The keydown doesn't fire while the command key is pressed, at least it doesn't for me. Just try in a frame script:

on keyDown
  if the commandDown then
    beep
  end if
end

To hear the beep you need to remove the commandDown check.

--
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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to