Send Hotkey
Sends a keyboard shortcut (e.g. Ctrl+C, Enter) to an element or active window.
Behaviour
Risk: Medium · Idempotent: No · Safe to retry: No · Recovery: Not replayed after a crash
Package UI Automation activities VeloPhex.UIAutomation.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.ui.sendHotkey
Windows · Needs an interactive desktop session
Properties#
Input#
Key#
Key · String · Required · Default: Not specified in package metadata
The key to send, e.g. C, V, Enter, Tab, Escape, F5.
Key modifiers#
KeyModifiers · String · Optional · Default: Not specified in package metadata
Modifier keys: Ctrl, Alt, Shift, Win joined by +.
Session#
Session · String · Optional · Default: Not specified in package metadata
The session id from a Use Application/Browser scope. Empty uses the enclosing scope's session, or outside a scope the most recent matching session.
Timeout (seconds)#
TimeoutSeconds · Int32 · Optional · Default: Not specified in package metadata
How long to keep looking for the element or window. Empty or not positive means the same as the enclosing Use Application/Browser scope, or outside a scope the project default (30 seconds).
Highlight before action#
HighlightBeforeAction · Boolean · Optional · Default: Not specified in package metadata
Draw the highlight around the element before acting on it.
Rules#
- Must be inside Use Application/Browser.
Retry and risk#
This activity is not marked safe to retry: if it fails partway, check whether its work already happened before running it again. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.
Every activity also has the engine's common properties: Timeout and Continue On Error.
Related activities#
- Capture Screenshot
- Check App State
- Choose Option
- Click
- Click Text
- Drag and Drop
- Element Exists
- Extract Table Data
Generated from VeloPhex.UIAutomation.Activities 0.7.1-rc.12. Category: UI Automation › Element. Keywords: ui, automation, element.
Properties
Input
Rules
Retry and risk
Related activities