Open an app, or switch to it if it is already open
Use a Focus window step with “If the window isn’t found, open it”. The shortcut focuses a matching window or starts the chosen program when no matching window is found; check the match settings in your app.
Steps
- Click New and add a Focus window step.
- Under Window, choose the running program, or type part of its window title or its executable name, such as
chrome.exe. - Turn on If the window isn't found, open it. Picking a running window fills in its program path; otherwise choose the program or browse for its .exe.
- Optional, under Advanced: arguments such as a URL or file path, a working folder, and how long to wait for the window (10 seconds by default, up to 60).
- Save, click Run with shortcut and press an unused shortcut.
How it behaves
- If a matching window exists, it is focused and nothing is started.
- If several windows match, the most recently used one is focused.
- If none matches, the program starts once and AutoAnything waits for its window.
- If Windows refuses to bring the window to the front, the workflow stops before sending further input.
Add steps after it
Because the right window is now in front, the next steps land there. Add a Keyboard shortcut such as Ctrl+L to jump to a browser's address bar, or a Type text step.
Built-in alternative
Win+1…9 opens or switches to the app pinned at that taskbar position. It is quick, but limited to pinned apps and tied to their order.