Is There a Way to Trigger a Command When a Warning/Dialogue Box Appears?

There's an annoying dialogue box that appears in an app I use with no way to turn it off. I'd love for KM to just hit enter when it shows up. Is this possible?

Obviously I could do it with find image but it seems a little crazy to have it constantly polling for that.


What kind of dialog is it? If it's the kind that is seen by KM as a window and it has a window title, you can try:

  • Trigger by focused window change
  • If front window title contains...
    Then press button

Hey Jeremy,

Always tell us what app you're working in, and it's a good idea to include the version of macOS.

In this case it would be useful to include a screenshot of the dialog as well.