Docs

RunMacro Documentation

Create your first robot, then go further as needed.

Clear step-by-step guides to create, run, and improve robots for repetitive computer work.

Docs Window Switch Window
🔃 Window

Switch the active window in RunMacro

The Switch Window command finds a window by title, restores it if minimized, then brings it to the front and focuses it.

Prerequisites#

  • Add Switch Window to the macro.
  • Prepare the data or target that Switch Window will use.

Supported modes#

  • Desktop Mode

What it does#

The Switch Window command finds a window by title, restores it if minimized, then brings it to the front and focuses it. This ensures the next type/click commands hit the right app.

Screenshots & video#

RunMacro Switch Window command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Switch Window command in RunMacro.

When to use it#

  • Switch to the right app before typing/clicking.
  • Bring a hidden or minimized window forward.
  • Alternate between apps during a workflow.

When not to use it#

  • Do not use it when multiple windows share a title and the intended target cannot be selected reliably.

Configuration steps#

  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.

Every option explained#

Window title#

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

Expected result#

After execution, Switch Window completes the described action and makes its result available to the next step.

Real example#

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.

Limitations and failure cases#

  • Results depend on match criteria, minimized/elevated state, and permission to foreground the window.

Tips & common mistakes#

Always Switch Window before acting if your workflow opens several apps — it avoids typing in the wrong place.

Verification details#

  • commands/window.py
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.