Docs

RunMacro Documentation

Learn RunMacro from basics to advanced.

Everything you need to start and master RunMacro — from basic commands to advanced automation workflows.

RunMacro robot
Docs Window IF Window Title
🏷 Window

Find a window by a keyword in its title in RunMacro

What it does

The IF Window Title command scans all open windows and checks whether any title contains your keyword. It is a quick, flexible check that does not require picking one exact window.

When to use it

  • You just need to know if any window contains a word.
  • Titles change a lot; only the keyword is stable.
  • Quickly check state by window name.

Configuration steps

  1. Add a Window › IF Window Title command.
  2. Enter the keyword to find in titles.
  3. Set retries and delay.
  4. Set IF/ELSE labels. Save.

Every option explained

Keyword

The text that must appear in any window title (case-insensitive).

Retries + delay between tries (ms)

Repeats the scan until found or retries run out.

IF label / ELSE label

If found jump to IF; otherwise jump to ELSE.

Real example

Example: detect a "YouTube" window

  1. IF Window Title, keyword "YouTube".
  2. IF label = has_youtube, ELSE = none.
  3. Put handling steps under each label.

Tips & common mistakes

Unlike IF Window Exists (targets a specific window and can focus it), this one only scans for a keyword and does not switch focus.
RunMacro robot

Ready to automate smarter?

Download RunMacro and start automating your desktop, browser, and business workflows today.