Click or drag to resize
Ranorex

KeyboardDown Method (Keys, Int32, Boolean)

Sets the state of the specified key to pressed/down.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static void Down(
	Keys key,
	int scanCode,
	bool setModifiers
)

Parameters

key
Type: System.Windows.FormsKeys
The key.
scanCode
Type: SystemInt32
The hardware scan code for the key. Specify DefaultScanCode to use the default scan code for the specified virtual key.
setModifiers
Type: SystemBoolean
A value specifying whether to set the modifiers specified in the key.
See Also