Skip to main content

Press/Release Key

Description

Press or Release the specified keys

Properties

Input

  • Ctrl – Check this to Press/Release the Ctrl key

  • Alt – Check this to Press/Release the Alt key

  • Shift – Check this to Press/Release the Shift key

  • Win – Check this to Press/Release the key

  • Action – Choose the Action to perform, either Press or Release

Misc

  • DisplayName – The display name of the activity.

  • Private – If selected, the variables and argument values will no longer be logged at the Verbose level.

Optional

  • Continue On Error – It Specifies whether the automation should continue even when the activity throws an error. If True, the activity continues without throwing any exceptions. If False, the activity throws an exception. The default value is False.
note

If this activity is inside the Try-Catch block, and the value of this property is True, no error would be caught.

Example

Download Example

Press or Release Key