BooleanValue =
aKeyboard.
CommandKey Supported for all project types and targets.
If True, the Command key is depressed on Macintosh when the current method or event handler began.
Example
The following example detects whether the Command key is depressed. The code is in the Action event of a Timer.
If Keyboard.CommandKey Then
// handle the keyboard event here....
MessageBox("keyboard event detected...")
End If