Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
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. |
Sends one or more keystrokes to the active window, as if typed on the keyboard. This method is available only for non-server applications. |