DocsWindowSwitch Window

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

RunMacro Switch Window command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Switch Window command in RunMacro.
  1. Add a Window › Switch Window command.
  2. Pick the target window (or type the title, use *).
  3. Place it before type/click commands to ensure correct focus. Save.

Options reference

Window title

The window to bring forward. Pick from the list or type it; wildcards supported.

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

  1. Switch Window to the one containing "Chrome".
  2. Key Combo Ctrl+L (or click the address bar).
  3. 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

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.