This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
action:Prompt_With_List [2017/09/06 23:32] peternlewis [See Also] |
action:Prompt_With_List [2018/02/19 01:32] peternlewis Prompt With List 8.1 |
||
---|---|---|---|
Line 2: | Line 2: | ||
The //Prompt With List// action (v8+) lets you select from a list of values. The values should be placed on separate lines, and can come from a clipboard, variable, file or text within the action. | The //Prompt With List// action (v8+) lets you select from a list of values. The values should be placed on separate lines, and can come from a clipboard, variable, file or text within the action. | ||
+ | |||
+ | You can include a title (which is only displayed when the search field is empty), as well as a default search string (v8.1+). You can also configure the width of the window (narrow, normal, wide, automatic) and whether to allow multiple selections (v8.1+). | ||
+ | |||
+ | If a single entry is returned, it is returned by itself (no newline character). If multiple entries are returned, they will be returned as multiple lines, each followed by a newline character (8.1+). | ||
The values are displayed in a Spotlight-like window, similar to the [[action:Trigger_Macro_by_Name|Trigger Macro by Name]] action. | The values are displayed in a Spotlight-like window, similar to the [[action:Trigger_Macro_by_Name|Trigger Macro by Name]] action. | ||
Line 15: | Line 19: | ||
* [[action:Alert|Alert]] action | * [[action:Alert|Alert]] action | ||
* [[action:Prompt_for_User_Input|Prompt for User Input]] | * [[action:Prompt_for_User_Input|Prompt for User Input]] | ||
+ | * [[action:Prompt_for_File|Prompt for File]] action | ||
* [[action:Custom_HTML_Prompt|Custom HTML Prompt]] action | * [[action:Custom_HTML_Prompt|Custom HTML Prompt]] action | ||
* [[action:Get_Touch_Bar_Selection|Get Touch Bar Selection]] action | * [[action:Get_Touch_Bar_Selection|Get Touch Bar Selection]] action | ||
Line 22: | Line 27: | ||
* [[https://forum.keyboardmaestro.com/t/macro-spotlight-search-prompt/4665|MACRO: Spotlight Search Prompt]] | * [[https://forum.keyboardmaestro.com/t/macro-spotlight-search-prompt/4665|MACRO: Spotlight Search Prompt]] | ||
- |