Set Window State
Maximize, minimize or restore a window.
Overview
Set Window State is a no-code automation step in the Window category of AutoFlowRPA. It performs its action in a single step when the workflow reaches it. You can configure 2 parameter(s) to control exactly how it behaves. This step runs on Windows. It is one of 369 commands you can drag into a workflow in the visual builder — no scripting required.
What it does
Maximize, minimize or restore a window.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Window title (substring) | string | Required | Matches any window whose title contains this. Example: Notepad Supports variables | |
| State | dropdownMaximize · Minimize · Restore | Required | Maximize |
How to use Set Window State
- 1
Open AutoFlowRPA and drag the Set Window State command from the Window group onto the canvas.
- 2
Set its parameters in the side panel — Set Window State has 2 configurable field(s).
- 3
Connect it into your workflow and press Run. Everything executes locally on your machine.
Frequently asked questions
What does the Set Window State command do?
Maximize, minimize or restore a window.
Which group does the Set Window State command belong to?
Set Window State is part of the Window group. AutoFlowRPA ships with 369+ ready-made commands you can combine without code.
Does the Set Window State command take any parameters?
Yes — Set Window State has 2 configurable field(s), all editable in the visual node editor.
More Window commands
Ready to automate your busywork?
Start your free 30-day trial today. No credit card, no commitment.