Set Window State
window_set_stateChange a window's state to minimize, restore, maximize, fullscreen, or hide/show the owning app, using a window handle. Requires Accessibility permission.
Instructions
Change a window's state: minimize, restore, maximize, fullscreen, hide (owning app), or show (owning app). Requires Accessibility permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| windowHandle | Yes | A windowHandle from window_list or window_get_active. |