How to Count The Keyboard Maestro Editor's Open Windows

Hi - I would like to create a macro that upon a hotkey being pressed, Checks how many Keyboard Maestro Editor Windows are open.

Is there a way to setup this macro, thanks!

Keyboard Maestro Function:

  • WINDOWCOUNT function
    • This function will get the count of whatever app is frontmost.


tell application "Keyboard Maestro"
   return count of windows
end tell
1 Like