action:Prompt_With_List
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| action:Prompt_With_List [2019/03/25 03:47] – How to Store a Different Value than Displayed peternlewis | action:Prompt_With_List [2022/09/27 06:37] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Prompt With List ====== | + | ====== Prompt With List Action |
| The //Prompt With List// action (v8+) lets you select from a list of values. | The //Prompt With List// action (v8+) lets you select from a list of values. | ||
| - | You can include a title (which is only displayed when the search field is empty), as well as a default search string (v8.1+). | + | {{ promptwithlist.png? |
| - | If a single entry is returned, it is returned by itself | + | You can include |
| - | If there is no title and no search string and less than 100 items, then all the items will be shown. | + | If a single entry is returned, it is returned by itself (no newline character). |
| + | |||
| + | If there is no title and no search string and less than 100 items, then all the items will be shown in the scrolling list. Otherwise | ||
| The values are displayed in a Spotlight-like window, similar to the [[action: | The values are displayed in a Spotlight-like window, similar to the [[action: | ||
| Line 14: | Line 16: | ||
| The selected item will be saved back to the source of the list, or to a specified clipboard, variable or file. | The selected item will be saved back to the source of the list, or to a specified clipboard, variable or file. | ||
| + | |||
| + | If you press Escape, the action will fail and no result will be saved. By default the macro will be canceled and you will be notified of the failure, but you can adjust that in the gear BUTTON{{{⚙}}} menu. | ||
| + | |||
| + | The resulting items will be trimmed of leading or trailing white space by default, but you can (v10.2+) disable this by turning off Trim Lines in the gear BUTTON{{{⚙}}} menu. | ||
| ==== How to Store a Different Value than Displayed ==== | ==== How to Store a Different Value than Displayed ==== | ||
| Line 35: | Line 41: | ||
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
| + | * [[action: | ||
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
action/Prompt_With_List.1553485679.txt.gz · Last modified: by peternlewis
