The Keyboard.SendKeys Method sends one or more keystrokes to the active window, as if typed on the keyboard. Syntax: object.SendKeys( keys, wait ) Parameters : keys – A String that defines the keys to send. wait – Optional. A Boolean that specifies whether or not to wait for keystrokes to get processed before the application …
Tag Archive: keyboard
Apr 01 2008
Keyboard Status
The Devices.Keyboard class 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. How can we know if CAPS-LOCK already pressed? Before we use the numpad keys we want to verify that if NUM-LOCK already pressed. The …


Recent Comments