How to play a sound when a palette is shown?

I have a palette which is shown in some apps when I hit cmd-Q (because I have bound cm-Q to two macros):

KM Quit Check_Screen Shot 2024-12-09 at 15.52.43

This palette is quite small and easily ovderlooked. So it would be great if a sound alerted me to this palette. Can I tell Keyboard Maestro to play a sound when this palette (or some other palette) appears?

Many thanks for any pointers!

I'm not sure about playing a sound for this particular palette, but have you tried increasing its size?

Settings → Palettes → Conflict Style Palette

2 Likes

The problem is that when the conflict palette is onscreen, no macro is actually running, so you can't detect that—neither one is launched until selected from the palette. You could use "Find Image on Screen," but that seems like overkill ... so I'm with @hemicyon—make it larger and maybe a bright orange color? :slight_smile:

-rob.

1 Like

Also perhaps of use is that from the Keyboard Maestro Editor Preferences, in the Palettes section, is an option to place Conflict Palettes under the mouse pointer.

Thanks for all the suggestions. Makes all sense. :smile: