A way to pause until an apps stops recording?

hi all need some advise here

i got into super whisper recently (https://superwhisper.com/) and its very useful for quick and reliable dictation via a quick hotkey

Thing is that I listen to music all day long and im looking for a way to auto stop/resume music playback when i launch a super whisper recording (via keyboard maestro)

i can easily do everything via keyboard maestro like stop my music player (jriver), launch superwheisper etc.. but cant seem to find a way to get keyboard maestro to know when the recording ends..

is there way someone can think of how to get keyboard maestro to know that? i tried pausing until a modifier is pressed but thats not super reliable

here is my current state

thx so much

Thx so much

Z

I don't have the software, and my first thought was to have Keyboard Maestro wait for a menu item to change, but after looking at the website it looks like the app runs exclusively from the menu bar. It doesn't appear to have any AppleScript or Shortcut support either. In this case, I would probably use the Pause Until action to have KM watch for this image...

image

But it looks like the window is partially transparent, which could affect the reliability and will probably require some fine tuning of the fuzziness. If your menu bar icons are always in the same place, an alternative could be to have KM watch the menu bar icon for the change from recording to not recording, and, assuming you don't often change your wallpaper, this could be a bit more reliable than having KM watch the whole screen for the tiny done indicator in the floating window.

Or you could use the OCR condition in the Pause Until action instead of image detection.

OCR isn't hurt by image transparency. I use it all the time with transparent windows and it always works.

1 Like