Greetings,
I'm looking for the ability to set specific values as the default and the option to add my values when prompted by "user input" during the macro's execution.
I understand that incorporating this feature may not be feasible, but I believe it would be a valuable addition to the user input functionality.
Thank you.
See: Prompt for User Input action.
Specifically:
The first value in the list of choices will be selected in the menu by default. For example, if you would like “Better” to be the default Popup value, then use “Better|Good|Better|Best”.
The docs cover all the stuff, including how to dynamically set your list and dynamically choose the default.
I should also menu you can get to the docs from the action by selecting Help from the gear menu in the action.
I apologize if I wasn't clear earlier. To provide more clarity, I am sending another picture to explain my agenda.
For instance, normally I would like to select either 1, 2, or 3 from the list for my values which are my default values.
However, I would also like to be able to enter a specific number by choosing the user input button.
So, in this example, I don't want to choose my default values, which are 1, 2, or 3; I would like to click on "user input", and the keyboard maestro to allow me to enter my custom value if I desire.
I should think something like one of the propositions bellow can work for you:
Prompt for custom Value.kmmacros (3.6 KB)
Macro Image
Prompt for custom Value Alternative.kmmacros (3.7 KB)
Macro Image
3 Likes
Thanks for your work; it’s a great workaround. However, I hope this feature can be added to user input to eliminate the need for additional steps. Cheers.
More steps equals more fun though, haha. And on that note:
This one might emulate your desired result even more closely. Consisting of two macros (more steps!) where it is the the 3A one that should be run or triggered.
Prompt for custom value Alternative 3 Macros.kmmacros (67 KB)
Macro Images
EDIT: Fixed a mistake in the macro
Then use a second text field that provides an override value with no default. If the resulting value is non-empty, use it, otherwise use the menu selection.
That is unlikely to happen.
1 Like
Nice examples. Your first example is the method I use when I need to do this. 
1 Like