win_set_control_text
Set a control's text directly via WM_SETTEXT, using its window handle from list_child_windows, without requiring focus or bringing the window forward.
Instructions
Set a control's text directly via WM_SETTEXT (reliable, no focus needed).
Pass the control's hwnd (from list_child_windows) - e.g. the Edit control of
a background Notepad - to replace its text without bringing the window forward.
Args: params (WinSetTextInput): target control by hwnd (preferred) or title, plus text.
Returns: str: JSON {"ok": true, "target_hwnd": N, "text_len": N}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |