Close KM "Display Text" window

Whups – I forgot about palettes... :sunglasses:

Try this:

tell application "System Events"
   tell application process "Keyboard Maestro Engine"
      tell (first window whose name is "Keyboard Maestro - Display Text")
         tell (first button whose role description is "close button")
            perform action "AXPress"
         end tell
      end tell
   end tell
end tell

-Chris

2 Likes