SetWindowState

CUTools

Security Level 2 - Control
SindByte tool execution flow: voice command, AI parse, execute, validate, result

Description

Change the state of any window! SetWindowState lets you minimize, maximize, restore, or activate windows - your desktop organizes itself according to your rules!

With support for all common window states and options such as bringing a window to the foreground or changing its transparency, you control your work environment programmatically - by voice command or automation!

Why This Tool Stands Out

Perfect for:

Power users, developers, and automation experts who want to control their desktop environment programmatically. Ideal for workflow automation, multitasking optimization, and UI testing.

Workflow support; time savings depend on the task

Instead of manually finding, moving, and arranging windows, you organize your desktop with a single API call - perfect for recurring work layouts.

JSON Parameters

Example Call

{
  "tool": "SetWindowState",
  "params": {
    "windowHandle": 123456,
    "state": "maximize",
    "bringToFront": true
  }
}

Example Usage

Typical AI Command

  • "Minimize all windows except the browser, then maximize Chrome."

Return Values

The tool returns an object with the following properties:

Related Tools

Download CUTools

Get access to all 17 Computer Use tools for Windows automation.

Download Now
Back to CUTools