|
|
|
|
|
by kstrauser
3732 days ago
|
|
Does Keyboard Maestro support text fields where it prompts you for input before sending the completion? For instance, TextExpander and aText let you write something like: :foo expands to
Dear [name], thank you for buying our stuff. We like you, [name]!
Then, when you type ":foo", it prompts you for "name" and fills out the template with "name" inserted everywhere it's mentioned. This is enormously useful for form letter types of things, or even more esoteric uses like expanding HTML tags ("<[tag]>[content]</[tag]>"). |
|
Prompt For User Input [1] is the easiest method and allows you to build a form fully within the KM's GUI.
Custom HTML Prompt [2] lets you make a full HTML/CSS/JS form. I have never had need of this, but in principle you can leverage any web browser tools such as jQuery and Bootstrap to make a complex form.
Check out the KM forums for examples. KM also allows you to fully integrate AppleScript and shell scripts, so you could do all sorts of other crazy workflows.
[1] https://wiki.keyboardmaestro.com/action/Prompt_for_User_Inpu...
[2] https://wiki.keyboardmaestro.com/action/Custom_HTML_Prompt