focus_window
Bring an application window to the foreground and give it focus using its window handle. Ensures the target window is active for subsequent actions.
Instructions
Bring a window to the foreground and give it focus.
Parameters
hwnd:
The window handle (from list_windows).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||