Skip to main content

Keyboard

Simulate keyboard input for desktop automation - type text and send key combinations to any application.

Overview

The Keyboard package enables keyboard simulation for desktop automation. Use it when you need to type text into applications, send keyboard shortcuts, or input data into any active window or control.

Key Features

  • Text Typing - Type strings of text character by character
  • Key Sending - Send special keys and keyboard shortcuts
  • Key Combinations - Send Ctrl, Alt, Shift combinations

Available Nodes

  • Type Text - Type a string of text character by character with natural timing
  • Send Keys - Send special keys, shortcuts, and key combinations

When to Use This Package

  • Form Filling: Type data into input fields
  • Keyboard Shortcuts: Trigger application shortcuts (Ctrl+S, Alt+F4, etc.)
  • Legacy Apps: Input to applications without API access
  • Desktop Automation: Control any application via keyboard

Key Syntax

Send Keys supports special key notation:

  • {ENTER} - Enter key
  • {TAB} - Tab key
  • {ESC} - Escape key
  • {BACKSPACE} - Backspace key
  • {DELETE} - Delete key
  • {UP}, {DOWN}, {LEFT}, {RIGHT} - Arrow keys
  • {F1} through {F12} - Function keys
  • {CTRL}, {ALT}, {SHIFT} - Modifier keys

Key Combinations

Combine modifiers with keys:

  • {CTRL}c - Copy (Ctrl+C)
  • {CTRL}v - Paste (Ctrl+V)
  • {CTRL}s - Save (Ctrl+S)
  • {ALT}{F4} - Close window
  • {CTRL}{SHIFT}n - Ctrl+Shift+N

Typical Workflow

  1. Click or focus target application/field
  2. Type Text to enter data
  3. Send Keys for Tab, Enter, or shortcuts
  4. Repeat for next field

Tips

  • Use Type Text for natural character-by-character input
  • Use Send Keys for shortcuts and special keys
  • Add delays between keystrokes if needed
  • Ensure target window is focused before sending keys