====== 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... assword fields.
{{ promptaction.png?nolink&600 | Prompt For User InputAction }}
This action produces thi
====== 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 ... default value.
{{ promptforsnippet.png?nolink | Prompt For Snippet Action }}
The size is roughly the nu... if `=` is the separator.
This action produces a prompt like this:
{{ prompt-for-snippet-window.png?noli
====== Prompt for File Action ======
The //Prompt for File// action (v8+) prompts for selected files or folders and sa... variable.
{{ promptforfile.png?nolink&575x202 | Prompt for File }}
You can prompt for an existing file(s) or folder(s), or for a new file or folder.
You can c
====== 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... e action.
{{ promptwithlist.png?nolink&575x264 | Prompt With List }}
You can include a title (which is o... s ===
* [[action:Alert|Alert]] action
* [[action:Prompt_for_User_Input|Prompt for User Input]]
* [[action
====== 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
=====
==== 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
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
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
+) returns the name of the last selected [[action:Prompt_for_User_Input|Prompt for User Input]] button in this execution instance.
This deprecates the //Result B... s ===
* [[action:Alert|Alert]] action
* [[action:Prompt_for_User_Input|Prompt for User Input]] action
* [[action:Custom_HTML_Prompt|Custom HTML Prompt]] action
ple's documentation), or
3. Run it in Custom HTML Prompt windows.
=====Using JXA with Keyboard Maestro===... ages, the [[action:Execute a JavaScript in Custom Prompt|Execute a JavaScript in Custom Prompt]] action is for interacting with Custom HTML Prompts, whereas JXA i... ation]]
* [[action:Execute a JavaScript in Custom Prompt|Execute a JavaScript in Custom Prompt]]
* [[actio