Provides a convenient way to synthesize keystrokes and other input.
See InputSimulatorEx.InputSimulator.
More...
|
static void | SendKey (VirtualKeyCode vk, params VirtualKeyCode[] modifiers) |
| Synthesizes a key press event for the given key.
Also accepts any number of modifier keys. More...
|
|
static void | SendKey (EVirtualKeyCode vk, params EVirtualKeyCode[] modifiers) |
|
static void | SendKey (System.Windows.Input.Key key, System.Windows.Input.ModifierKeys modifierKeys) |
|
static void | SendText (char c) |
| Synthesizes key presses to 'type' the given char. More...
|
|
static void | SendText (string s) |
| Synthesizes key presses to 'type' the given string. More...
|
|
Provides a convenient way to synthesize keystrokes and other input.
See InputSimulatorEx.InputSimulator.
◆ SendKey() [1/3]
- Parameters
-
vk | The EVirtualKeyCode of the key to simulate. |
modifiers | Any number of EVirtualKeyCode modifier keys. |
◆ SendKey() [2/3]
static void VolumeControl.Core.InputSimulator.SendKey |
( |
System.Windows.Input.Key |
key, |
|
|
System.Windows.Input.ModifierKeys |
modifierKeys |
|
) |
| |
|
static |
- Parameters
-
key | The key to simulate being pressed. |
modifierKeys | The modifier keys to simulate being pressed. |
◆ SendKey() [3/3]
static void VolumeControl.Core.InputSimulator.SendKey |
( |
VirtualKeyCode |
vk, |
|
|
params VirtualKeyCode[] |
modifiers |
|
) |
| |
|
static |
Synthesizes a key press event for the given key.
Also accepts any number of modifier keys.
- Parameters
-
vk | The VirtualKeyCode of the key to simulate. |
modifiers | Any number of VirtualKeyCode modifier keys. |
◆ SendText() [1/2]
static void VolumeControl.Core.InputSimulator.SendText |
( |
char |
c | ) |
|
|
static |
Synthesizes key presses to 'type' the given char.
- Parameters
-
c | A char associated with a keyboard key. |
◆ SendText() [2/2]
static void VolumeControl.Core.InputSimulator.SendText |
( |
string |
s | ) |
|
|
static |
Synthesizes key presses to 'type' the given string.
- Parameters
-
s | A string of characters associated with keyboard keys. |
◆ InputDeviceState
IInputDeviceStateAdaptor VolumeControl.Core.InputSimulator.InputDeviceState |
|
staticget |
Input device state manager.
◆ Keyboard
IKeyboardSimulator VolumeControl.Core.InputSimulator.Keyboard |
|
staticget |
Synthesizes keyboard events.
◆ Mouse
IMouseSimulator VolumeControl.Core.InputSimulator.Mouse |
|
staticget |
Synthesizes mouse events.
The documentation for this class was generated from the following file: