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!
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.
Oh, my mistake—I thought you were replying about the request for an auto-close on the Display Text in a window window. That's what I was trying to figure out how to do.
In July 2021 you referred to the "the next major version" in answer to the OP's question about automatically closing a Display Text in Window window, not Display Large Text.
The conversation then took a side track onto Display Large Text and Set Action Delay. So, when you recently said,
I got confused which display method you were talking about, and which version.
Does v10 have the feature the OP asked about, or are we waiting until v11?
Is %LastWIndowID% the only way of referring to Text Display windows?
They don't appear in the Windows menu, I don't seem to be able to access them with other KBM variables/tokens, nor with AppleScript. Where I can cycle through Chrome windows by clicking the Chrome icon in the Task Bar, doing that with KBM does not work. But it could be my ignorance.
Also, if I'm going to save the %LastWindowID% for a text display window, is there a way to have the timer for that run in the background, while the rest of my macro runs or I do other things like copy text from the window? If I have Large Text display, it pops up and the macro continue to do things while the display timer runs. That's how I can have multiple Large Text displays stacked on top of each other.
The only way I've found to run a KBM action asynchronously, like to wait to close a Text Display Window, is to invoke it from a Shell command line. Is there a better way?
I'm afraid I do not understand what you mean. What timer? For auto closing? Presumably you could use the Execute a Macro action, executing it asynchronously, pass it the %LastWindowID% and then it could simply pause for a while and then close the window.
Yes, Execute a Macro can run asynchronously. There are lots of other ways to run macros asynchronously (Trigger Macros by Hot Key for example).
I searched the manual/wiki for "asynchronous" and the only reference I found was in the Shell Command Line page. However, my wife will confirm that my skills at finding things that are right in front of me can sometimes be limited.
Thanks! Yes, that's exactly the kind of thing I was imagining.
However, I wanted the window up for 30 seconds or so, long enough to examine it and compare with other windows, maybe copy some text. Yet I want it to autoclose because I might take that copied text to another desktop and paste it somewhere, and forget to go back, and I don't want numerous Text Display WIndows hanging around, cluttering my desktops and confusing me.
But running it a subroutine, the main thread waits for the subroutine to return, which is why I was asking about running it asynchronously.