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_for_User_Input [2019/06/30 22:04] peternlewis |
action:Prompt_for_User_Input [2021/10/08 02:16] peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Prompt For User Input ====== | + | ====== Prompt For User Input Action ====== |
_Prompt For User Input_ allows you to design a form that will ask for user input, storing the results in [[manual:Variables|Keyboard Maestro Variables]]. | _Prompt For User Input_ allows you to design a form that will ask for user input, storing the results in [[manual:Variables|Keyboard Maestro Variables]]. | ||
Line 140: | Line 140: | ||
=== How Buttons are Processed === | === How Buttons are Processed === | ||
- | * The first button (from the top) has a default key of <kbd>⏎</kbd> (RETURN). | + | * The first button (from the top) has a default key of <kbd>⏎</kbd> (RETURN), _unless_ you have assigned the _RETURN_ response to another button using “/” at the end of a button name. |
- | * The second button has a default key of either <key>⎋</key> (ESCAPE), or <key>⌘</key><key>.</key> (COMMAND-PERIOD), _unless_ you have assigned the _escape_ response to another button using <key>/</key><key>.</key> at the end of the Button Name. | + | * The second button has a default key of either <key>⎋</key> (ESCAPE), or <key>⌘</key><key>.</key> (COMMAND-PERIOD), _unless_ you have turned off canceling the macro for that button or assigned the _ESCAPE_ response to another button using “/.” at the end of a button name. |
* Any button can _Cancel_ the macro if the "Cancel Macro" checkbox is _checked_ for it. | * Any button can _Cancel_ the macro if the "Cancel Macro" checkbox is _checked_ for it. | ||
* Other buttons have no default key. | * Other buttons have no default key. | ||
- | * Whatever button has the key <kbd>⏎</kbd> will be the "Default" button, and will be highlighted in blue appropriately by the system. | + | * Whatever button has the _RETURN_ response will be the Default button, and will be highlighted in blue appropriately by the system. |
- | * The button shown with a colored outline (usually blue) can be chosen/activated by pressing the SPACE_BAR key. | + | * If you have the system preference “Use keyboard navigation to move focus between controls” enabled, the button shown with a colored outline (usually blue) can be chosen/activated by pressing the _SPACE_ key. |
**Guidelines for Good Button UI** | **Guidelines for Good Button UI** | ||
Line 174: | Line 174: | ||
* [[action:Prompt_With_List|Prompt With List]] action | * [[action:Prompt_With_List|Prompt With List]] action | ||
* [[action:Prompt_for_File|Prompt for File]] action | * [[action:Prompt_for_File|Prompt for File]] action | ||
+ | * [[action:Prompt_for_Screen_Rectangle|Prompt for Screen Rectangle]] action | ||
* [[action:Custom_HTML_Prompt|Custom HTML Prompt]] action | * [[action:Custom_HTML_Prompt|Custom HTML Prompt]] action | ||
* [[action:Show_Palette_of_Macros|Show Palette of Macros]] action | * [[action:Show_Palette_of_Macros|Show Palette of Macros]] action |