This macro displays a list of predefined choices and inserts the selected choice within the phrase placeholder. Several standard Windows controls are supported - ListBox, DropDown, ComboBox, Radio, CheckBox, TextBox, Date, Slider, Random and Input. Input selection dialog window will appear when command is executed to allow user input.
•Name - The unique name of the macro field. The field name cannot contain blanks or special characters. Two fields with the same name and of the same type are treated as one - the user input is only required once.
•Description (optional) - Description of a field to be shown on the input dialog.
•Type - Select one of the standard Windows selection controls - ListBox, DropDown, ComboBox, Radio, CheckBox, TextBox, Date, Slider, Random and Input. Choose CheckBox control type to allow multiple selections.
•Selections - List of available selections, one selection text per line. In Slider control type, specify the range in the first line, for example: 1-100. You can also specify the interval, for example 1-100/10.
To improve visibility, add a description prefix to selections. In such case only description will appear on a input selection dialog. The default description separator is "::" and can be changed in Preferences > Text Expander.
•Delimiter - Specify delimiter characters between multiple selections. Only available with CheckBox control type.
•Format - Select a date and time output format. Only available with DateTime control type.
•No output (optional) - Enable this option to instruct FastKeys not to output the value. This is useful for using the values later in the conditional statements, calculations or scripts.
•Output format (optional) - The macro output can be further processed by several additional macro functions. See: Output format
Select OK to insert a %SELECT_Name% macro field into the command. Double-click on the field name to open the dialog and edit the macro properties again.
In the following example, user will be asked to select patient's symptoms before the command is executed.
The patient is associated with %SELECT_Symptoms%.
SELECT_Name field variables can also be used in the conditional statements, calculations or scripts.