ahk_control_send
Send text or keystrokes to a background window or control without focusing it. Use for precise input to specific HWND targets via AutoHotkey.
Instructions
Send text or keystrokes to a background window/control via AutoHotkey ControlSend.
Works without focusing the window and is often more reliable than raw WM_CHAR for complex apps. Target a HWND with 'ahk_id '.
Args: params (AhkControlSendInput): text, window/control targets, as_keys, timeout.
Returns: str: JSON with the AHK run result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |