====== Prompt For User Input Action ======
_Prompt For User Input_ allows you to design a form that will ask for user ... :Variables|Keyboard Maestro Variables]].
You can prompt for variables with text, checkbox, popup menu, or password fields.
{{ promptaction.png?nolink&600 | Prompt For User InputActio
====== Custom HTML Prompt Action ======
The //Custom HTML Prompt action// allows you to display an entirely customized window to g... rted, see these examples:
- The //**Custom HTML Prompt Example**// macro from the Keyboard Maestro [[:Ma... ry|Macro Library]]
- [Demo Using KM Custom HTML Prompt with AppleScript & JXA](https://forum.keyboardmae
====== Prompt For Snippet Action ======
The _Prompt For Snippet_ action (v11.0+) allows you to create a snippet built ... which can include a size and a default value.
{{ promptforsnippet.png?nolink | Prompt For Snippet Action }}
The size is roughly the number of characters (defaul
====== Prompt for File Action ======
The //Prompt for File// action (v8+) prompts for selected files or folders and saves the path(s) into a variable.
{{ promptforfile.png?nolink&575x202 | Prompt for File }}
Y
====== Execute JavaScript in Custom HTML Prompt ======
The //Execute JavaScript in Custom HTML Prompt// action let you execute JavaScript in a [[action:Custom_HTML_Prompt|Custom HTML Prompt]] window.
{{ execute-javascript-in-custom-html-prompt-action.png?nolink&674x161 | Exe
rated by vertical bars (|) just like the [[action:Prompt_for_User_Input#Popup_Field|Prompt for User Input]] Popup fields. So, for example `F__Fail|C__OK|B__Good|... e of F, C, B or A.
Note that unlike the [[action:Prompt_for_User_Input#Popup_Field|Prompt for User Input]] Popup fields, there are no separators and no concept o
====== Prompt With List Action ======
The //Prompt With List// action (v8+) lets you select from a list of values. Th... rd, variable, file or text within the action.
{{ promptwithlist.png?nolink&575x264 | Prompt With List }}
You can include a title (which is only displayed when t
=====
==== Actions ====
* [[action:Custom_HTML_Prompt|Custom HTML Prompt]] action
* [[action:Get_Touch_Bar_Selection|Get Touch Bar Selection]] action
* [[action:Prompt_for_User_Input|Prompt for User Input]] action
* [[action:Prompt_for_Screen_Rectangle|Prompt for Screen Re
====== Prompt for Screen Rectangle Action ======
The *Prompt for Screen Rectangle* action allows you select an area (o... s ===
* [[action:Alert|Alert]] action
* [[action:Prompt_for_User_Input|Prompt for User Input]]
* [[action:Prompt_for_File|Prompt for File]] action
* [[action:Pro
oma and later.
* Fixed an issue with the [[action:Prompt_With_List|Prompt With List]] action not being canceled in all cases when Cancel All Macros is used. ([for... display-text-in-window/32567/4))
* Allow [[action:Prompt_for_User_Input|Prompt for User Input]] sliders to return decimals. ([forum](https://forum.keyboardmaestro
turns the result of the last [[action:Custom_HTML_Prompt|Custom HTML Prompt]] action in this execution instance.
This deprecates the //HTML Result Button// speci... s ===
* [[action:Alert|Alert]] action
* [[action:Prompt_for_User_Input|Prompt for User Input]] action
* [[action:Custom_HTML_Prompt|Custom HTML Prompt]] action
====== PromptWithListModifiers Token ======
The //%PromptWithListModifiers%// token returns (v10.2+) the modifiers used to complete the last [[action:Prompt_With_List|Prompt With List]] action.
===== See Also =====
=== Actions ===
* [[action:Prompt_With_List|
====== PromptWithListText Token ======
The //%PromptWithListText%// token returns (v10.0+) the text entered in the last [[action:Prompt_With_List|Prompt With List]] action.
===== See Also =====
=== Actions ===
* [[action:Prompt_With_List|
AppleScript. \\ • Concealed in password fields in Prompt For User Input actions.\\ • Not saved to disk. |
... unning simultaneously.\\ • Accessible by [[action:Prompt_for_User_Input|Prompt For User Input]]\\ • Accessible by scripts (when used in an Execute Script Action).\\ • Accessible by [[action:Custom_HTML_Prompt|Custom HTML Prompt]].\\ • Accessible by AppleScri