Programming with Reflection
ProcessInvalidKeystrokes property
Syntax |
object.ProcessInvalidKeystrokes |
Works with |
|
Data type |
Returns (first syntax line) or specifies (second syntax line) how Reflection handles invalid keystrokes. When this property is True, invalid keystrokes generate an error message.
When this property is False, invalid keystrokes are ignored. For example, if a user presses a key that is mapped to a macro when another macro is running, Reflection's default behavior is to display an error message saying that a macro is already running. Setting ProcessInvalidKeystrokes to False avoids this error message.
The default value is True.