Modified the Workflow Suggestion - A long-running macro (actually, a prompt) macro to include a "Cancel This Macro" action at the end of the "Catch" portion of the "Try/Catch" action.
NOTE:
These macros require Keyboard Maestro version 10 and higher.
I love that @peternlewis added transparency to Custom HTML Prompts in Keyboard Maestro 10. There's all sorts of fun things we can be doing with them.
One idea I have is a way to tell the user that some long-running macro is running.
Here's a screengrab, but it's a lot smoother in real-life. This is a screen recording of an animated gif, and the screen recording was then converted to an animated gif, so it's not beautiful:
Here's some macros you can use. You don't even have to know anything about Custom HTML Prompts - you can supply the animated gif separately.
There are a lot of examples, and detailed comments, and they work well. But this is just the start of the discussion. I'm hoping people can come up with some other ideas too.
Feel free to do whatever you want with these. The "license agreements" in the macros just say that you can use the code however you want, and it's not my fault if your computer burns up, or whatever.
Sound's great. I've been looking for something like this for several weeks. Unfortunately, there is only one macro and three gifs in your archive. Can you check it?
@magikCT@emb4c - My apologies, I did indeed only upload one macro. It's fixed now - try again from the link in the first post. (I feel pretty foolish, but what can you do?)
I will probably come back to this post when I need to learn how to do this. It is a cool idea. For the moment, I'm using "Display Text Large" in KM for similar purposes.
I mean this situation:
I run macro A. Macro "A" works + gif "Macro A is running ..." is displayed. Meanwhile, macro "A" is terminated because an error occurred. After that, the gif "Macro A is running ..." is still displayed. I wish the gif was not shown when the macro is not working, for whatever reason.
See the "try/catch" method used in the Workflow Suggestion - A long-running macro (actually, a prompt) macro. If you close the animation at the end of the "try" section, AND in the "catch" section, that should probably solve the problem.
I'm glad you're playing with this animation idea. I was hoping someone else could have some fun with this. If you have any suggestions or questions, please fire away!