RanorexRanorex Documentation
Set Method (character, down)
NamespacesRanorexKeyboardSet(Char, Boolean)
Sets the state of the key associated with the specified character to either pressed/down or released/up.
Declaration Syntax
C#Visual BasicVisual C++
public static void Set(
	char character,
	bool down
)
Public Shared Sub Set ( _
	character As Char, _
	down As Boolean _
)
public:
static void Set(
	wchar_t character, 
	bool down
)
Parameters
character (Char)
A character associated with a key.
down (Boolean)
True to press the key, false to release it.
Remarks
This method may cause modifier keys (like ControlKey or ShiftKey) to be pressed or released. The original state of these modifier keys is restored by this method.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)