XenoGuard Documentation

Key Press

Actions » Windows » Keyboard » Key Press 

The action Key Press detects a simulated keystroke when it is pressed and released.


[-] Hide
  1. Open the Windows node in the Workspace Explorer.
  2. In the Keyboard node, select the Key Press action.

Parameters:

The action 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 action.


See other keyboard operations:

Write Character
Write Text
Key Down
Key Up