Switch between Window in Firefox macro?

When using Firefox or Edge i have a normal Window open with multiple tabs and a In Private Window open with tabs. But i want to switch between them (not the tabs but window) using a macro instead of going with the mouse the menubar of Firefox, click Window and then click on the in private one or the normal window.

Is this possible with KBM?

It's possible with your keyboard -- ⌘` should do it. And if you need to include that as part of a longer macro just use the "Type a Keystroke" action:

image

What do you mean, there is no Keyboard shortcut for switching a window in Firefox.
To add a macro using a keystroke i know but how to make it switch between in Window?

Want so switch between the Google and Private Browsing.
2025-07-07 -13.52.38@2x

As Nige mentioned, ⌘` is the default hotkey for cycling through windows of a single application. Did you perhaps disable it in keyboard settings?

System Settings » Keyboard » Keyboard Shortcuts... » Keyboard » Move focus to next window

Note, this only works for unminimised windows though. Are any of your windows minimised? If so, maybe the Activate Window Switcher action could be helpful?

There is no item listed in the menu. That doesn't mean it doesn't work...

For some reason many apps are missing out the "Cycle Through Windows" command you can see in Finder's "Window" menu, and Finder itself now omits the shortcut. But it still works in every (multi-window) app I've tried.

the CMD + ` was in use by an other KBM shortcut, i didnt know that shortcut was a default macos one. Thank for you guys help.

1 Like