Open an application and cycle windows


I'd like to create a macro that 1) opens an application and 2) if it is already open, cycles through any open windows of that type with the same button.

Is this possible with KM? I am barking up the right tree?


  • If Application condition "Whatever" is Running (or maybe is at front)
    • Maybe Activate Application Whatever
    • Do whatever is required to cycle windows (probably a Type a Keystroke, but you may need to Pause a little to allow the app to come to the front).
  • Else

So cool, thanks.

It's something I started doing on Windows with AutoHotkey, after coming across this tutorial from Taran Van Hemert -

Great to have a mac version too now, saves me loads of time.

1 Like