My.Computer.Keyboard Object MembersĀ
The My.Computer.Keyboard Object provides properties for accessing the current state of the keyboard, such as what keys are currently pressed, and provides a method to send keystrokes to the active window.
Properties
Gets a Boolean indicating if the ALT key is down. This property is available only for non-server applications. |
|
Gets a Boolean indicating if CAPS LOCK is turned on. This property is available only for non-server applications. |
|
Gets a Boolean indicating if a CTRL key is down. This property is available only for non-server applications. |
|
Gets a Boolean indicating if NUM LOCK is turned on. This property is available only for non-server applications. |
|
Gets a Boolean indicating if SCROLL LOCK is turned on. This property is available only for non-server applications. |
|
Gets a Boolean indicating if a SHIFT key is down. This property is available only for non-server applications. |
Methods
Sends one or more keystrokes to the active window, as if typed on the keyboard. This method is available only for non-server applications. |