Is there a way to permanently display the contents of a variable? All i see in notifications are error like warnings or prompts. I like to have a display somewhere on my screen that shows a variable and if the variable changes reflect that change too. I could close and reopen the window but i find that distracting.
Woud it be possible to use a pallete for this? that means that i have to name a macro after the content of a variable...
For unoccluded display on the menu bar (rather than on the Desktop) you could also try things like [TextBar - Mac App](http://richsomerfield.com/apps/textbar/)
(I use this during 25min 'pomodoro' sprints, with a countdown value appended, to keep the goal in view)
If, like me, you have a lot of stuff on the menu bar already Textbar might be one extra too far! (And I already use Bartender.)
Also, am I right in thinking that instead of KM needing to push information to Textbar, you have to tell Textbar how frequently it should update its display of information? So potentially there’s a lag between something updating in KM and it being displayed by Textbar.
Thanks Complex•
But i am lost in how to implement a JavaScript in KM and how to push that to TextBar.
Lost of reading to do i am afraid.
Would you mind posting a simple KM macro with a simple script?
Perhaps not permanent in the strict sense but more like sticky, you can open the Keyboard Maestro editor's Preferences, click on Variables and see all your variables and their values.
The Search field lets you filter the list down to a precious few, if desired.
The Value Inspector can float in all windows if you just want to be able to see the value, but if your aim is to display the value (like a stock ticker or something), then that is probably not what you want.
You can do it with a periodically updating Custom HTML Prompt action (or updating it when you change the value of the variable, since you presumably know when that happens).
After a long pause...Thanks Michael. And Peter.
But i am still stuck. Sorry, i think i miss something basic.
I have a KM script.
I can display a variable in the HTML prompt.
Now the script comes in a loop For Each... etc and now i want to update my HTML prompt within this loop so the progress (which is reflected by a variable) of my For Each loop will be shown in the HTML prompt.So, i want to involve an action within the loop that updates my HTML prompt.
How does that action look like?