XenoGuard 4.0 Documentation
Key Press
ActionStep Reference » Windows » Keyboard » Key Press
The ActionStep Keyboard Key Press simulates a keystroke, encompassing both the key press (down) and release (up) actions.
[-] Hide
- Open the Windows node in the Workspace Explorer.
- In the Keyboard node, select the Key Press ActionStep.
Parameters:
The ActionStep has the following input parameters:
name |
Description
|
---|---|
Key
|
Specifies the key to be pressed and released on a keyboard.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter, Enum] |
Wait Time [ms]
|
Specifies the time interval in milliseconds after pressing the key.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter, Enum] |
Example (Shutdown a Windows-based computer):
This example turns off the Windows-based computer after pressing the Windows Power button and selects the Shutdown option using Mouse To Symbol ActionStep.