You can change the duration - see this discussion thread https://forum.keyboardmaestro.com/t/display-text-large-can-the-duration-of-the-display-be-changed/5296
Oh - just saw the other discussion going on about this.
Are there any updates on this feature request? @peternlewis
I'd like to be able to control the size, position, and color of the display text large too.
Maybe not the same action, but something similar to it that allows us to customize the display.
You can do this using the Custom HTML Prompt action.
In fact, I'm pretty sure there have been topics/posts about using the HTML Prompt for this very use case. A Forum Search should find these.
The Custom HTML Prompt in KM does not offer a transparent/semitransparent background, as the Display Text Large action has, and as BetterTouchTool offers. With BTT, people can build some cool stuff like this:
If I were to use the Custom HTML Prompt to replace the Display Text Large function, I would probably use the BTT floating HTML because of the translucency background option. But, although I've been using the Custom HTML Prompt in many places, I would still prefer not to use the Custom HTML Prompt action if there are other easier ways.
Lastly, since @peternlewis "Noted" the request. I was just checking in to see if there have been any updates.
No, there are no changes on this front.
As noted, the display is typically invoked as an option from a menu, and so it doesn't really have any way to configure it. It would need an entirely new action, or new UI.
And to allow all the customisations would require a lot of code and options, so more likely I would expand the Custom HTML Prompt to allow transparent backgrounds and borderless windows (if any of that turns out to be possible).
Thanks for your reply. I'm patiently waiting for this feature to be available in the future.
Personally, I see transparency as nothing more than eye candy, and it decreases readability. I see no functional benefit to it. I know there are others that like it, and that is fine.
My 2¢ would be to put other items that provide new capability, new functionality, higher on the KM to-do list.
"expand the Custom HTML Prompt to allow transparent backgrounds and borderless windows (if any of that turns out to be possible"
This will be amazing because Custom HTML Prompt is one of the most powerful actions but often overlook feature.
First of all I'd like to pay my respects to JMichaelTX. He was very active in this thread and I respect and admire his hard work. He will be missed.
Talking about this macro. I'd like to at least be able to change the size of it, which at the moment is rather obnoxious.
With apple implementing new Focus modes and improving the Do Not Disturb function, I rely less and less on system notifications for messages.
So an upgrade to this feature would be a godsend.
Peter has added "hide title bar" and "transparency" to the Custom HTML Prompt action. If you want to have more customization for "Display Text Large", "Custom HTML Prompt" is for you. You can, for instance, control the size and position of the window, as well as the fonts of the text to be displayed.
Please see Post #10 if you haven't already.
I realize this is complex for the average user, but it's the only solution available.
Perhaps @martin would post a “simple” example...
Here it is:
The window will show up at the upper-right corner of the screen, where the system notification usually appears.
The window auto closes in 5s.
Almost everything, the window position, size, the text font, etc. may be customized.
I use this, nice,...
I see the SCREEN area of code but don't know how to center it on the screen.
How do I center the prompt on the screen?
Also, it there a way to dynamically size the prompt based on the text variable that is to be displayed? I entered a sentence and only the first few words were shown...
I'm glad you like it.
This is works with multiple monitors. The HTML Prompt window appears on the
300 is the width of the HTML Prompt window,
150 is the height of the HTML Prompt window.
You may change the number to suit your need. Just remember to change the number at both places.
I don't know how to determine the size of the window needed for a dynamic text. Sorry about that. I myself use the full screen to display dynamic text. This way, I don't need to worry about the text size.
I also added AppleScript to hide the menu bar before the HTML Prompt and restore the menu bar after the HTML Prompt window is closed.
The code to do this is readily available on GitHub. I found about a dozen different, free solutions. I got a little frustrated but I actually did get one of them working in KM this year. And then for some reason I gave up.
Thanx @Sleepy , yeah... don't need more rabbit holes... =), appreciate your opinion... certainly...
Thank you, I'll just keep the text short enough to fit in the box... Really that's all I need anyhow...
Since I'll probably pass into "the great sandbox in the sky" before Peter does, I'm not too worried about KM's long term direction. But what I'd like to see are more built-in KM actions that deal with HomeKit, Metal (for more output options), Shortcuts, file conversion/manipulation actions, ImageMagick (for more screen analysis) and a bunch of other macOS features that KM users probably use a lot of.
Thanks for this so much @martin – years later it's still helpful!