Feature Request: Display Text Window Auto Close

Hi @peternlewis,

Is it possible to add an option to set an auto-close time for the Display Text window?
I could use the Custom HTML window, but I may have different number of variables to display and use different font styles. It is not very convenient. The Display Text window is the best option in most of the cases. An "auto-close" timer would be perfect.
Thanks!

Thanks!

2 Likes

I don't know how difficult this would be to add, but I would definitely find this extremely useful, especially now that Growl is basically dead and macOS' built-in notifications are still mostly terrible and not as good as Growl was.

You'd expect it to be pretty straightforward – many Keyboard Maestro Actions have a time-out property.

In any case – this can be done now.

Open the Display Text Window and Get its ID:

tell application "Keyboard Maestro Engine"
   set frontWindowID to id of front window
end tell

Pause for as long as desired and then close it.

tell application "Keyboard Maestro Engine"
   close window id frontWindowID
end tell

I'd probably call an asynchronous sub-macro timer and pass it the Duration and Window ID.

-Chris

3 Likes

There will be a native way to do this in the next major version.

10 Likes

This is a great news! Looking forward to the new version!!
Thank you so much!

1 Like

Hoping for the same for "display large text" :slight_smile:

The Display Large Text already has a configurable length of time for the display.

See the Set Action Delay action.

2 Likes