Skip to content

Key Hold Activity

The Key Hold activity enables users to simulate pressing and holding specific modifier keys (ALT, SHIFT, CTRL) on the keyboard. This activity is crucial for executing keyboard shortcuts or combinations that require a key to remain depressed while other actions occur.

Field Description Requirement
Key Specifies the keyboard key to be held down or released. Select from available modifier keys like ALT, SHIFT, or CTRL. Required
Event Defines the action to perform on the specified key. KEY_DOWN simulates pressing and holding the key, while KEY_UP simulates releasing it. Required

Action Types & Examples

Key

  • Format: string
  • Example Result: "ALT"

Event

  • Format: string
  • Example Result: "KEY_DOWN"

Implementation Examples

Field Setup - Key: ALT - Event: KEY_DOWN

Execution Parameters - Key: SHIFT - Event: KEY_UP

Technical Notes

A key initiated with the KEY_DOWN event should always be subsequently released using the KEY_UP command to prevent unintended system behavior or stuck keys.