Switch the active window in RunMacro
Desktop ModeRunMacro 3.5+
The Switch Window command finds a window by title, restores it if minimized, then brings it to the front and focuses it.
Dialog & quick setup

- Add a Window › Switch Window command.
- Pick the target window (or type the title, use
*). - Place it before type/click commands to ensure correct focus. Save.
Options reference
Modes & when to use
Desktop Mode
Best for
- Switch to the right app before typing/clicking.
- Bring a hidden or minimized window forward.
- Alternate between apps during a workflow.
Use an alternative when
- Do not use it when multiple windows share a title and the intended target cannot be selected reliably.
Before you run
- Add Switch Window to the macro.
- Prepare the data or target that Switch Window will use.
Example workflow
Example: focus the browser then type a URL
- Switch Window to the one containing "Chrome".
- Key Combo Ctrl+L (or click the address bar).
- Type Text the URL then Enter.
Expected result: After execution, Switch Window completes the described action and makes its result available to the next step.
Tips & limitations
Always Switch Window before acting if your workflow opens several apps — it avoids typing in the wrong place.
- Results depend on match criteria, minimized/elevated state, and permission to foreground the window.
Applies to RunMacro 3.5+ · Desktop Mode · Windows 10/11
