Keyboard Maestro 8 adds a bunch of ways you can make your macros more interactive.
There is a new Prompt for File action to prompt for an new or existing file or folder (and you can still use the Finder Selection as a another way of selecting files).
You can use the Show Palette of Macros action to ask for a selection from a set of macros, or you can use a Spotlike-like selection using the Trigger Macro by Name action, which now has an option to select from a subset of macros.
You can also use the Prompt With List action to select from a set of values using a Spotlike-like selection.
And there are some enhancements to the Custom HTML Prompt action, such as allowing it to not-float, to be resized, and to stay open indefinitely, all of which could be put to good use in creating a custom user interface.
So these new additions should open up some new areas to automate with additional user-interaction.
But the things I could do with a Custom HTML Prompt that stays open and does not float on top. not to mention being resizable, are mind-boggling. I’m feeling the magnetic pull of KM8, and this forum, tugging at me to drop what I’m working on and come back. : This is the exact reason I’ve resisted looking at the new features in KM8. Curse you, @gglick. (And Peter, too, of course.) Must… Stay… Focused…
Does the KM icon blink when the Custom HTML Prompt stays open? With my ADD, I’d find this distracting. If it does, is there any chance of being able to stop the blinking, just for Custom HTML Prompts that stay open?
Is there a performance penalty to the system when leaving the Custom HTML Prompt open? I realize that everything that runs technically affects performance, but you know what I mean.
But seriously, for someone like me with no HTML expertise (which unfortunately means I can’t help answer your questions) even the vanilla Prompt With List has been a huge addition to KM’s repertoire (if you’re interested, you can see an example of how it let me reduce an entire macro to a single action here: Search Designated Text File and Display Results).
Hi DanThomas, just because of you --I am always so impressed at your scripts-- and as I have KM8, I will start creating html UI prompts to interact better with my applescripts. Is BBEdit enough to start customizing the example provided, or do you recommend some other tools?
I think that many old applescript users will flog to KM8 because of the HTML prompt. Long live peternlewis
You can turn off failure and notification of failure in the gear menu (top right of the action), and then you can test if the action result is OK or not using the If Then Else action and Action Result condition.