Manual text input

Previous  Next 

Request additional information when the command is triggered.

 

This macro can be used to:

- insert the name or specific information in a piece of text or an email

- automatically do web searches (Google, Wikipedia and more)

- insert a parameter (or a part of the filename) when launching an application

- compose a text from a dialog with multiple options

 

manualtextinput

 

To insert a Manual text input macro click on Insert / Manual text input in the command edit window.

You can use the same macro many times inside the command.

You can also edit the ManualInput macros you have already created inside the Manual Input dialog

 

Option

Description

Description

Description of the ManualInput. This text will be shown when the command is executed

Default values

Default values for the parameter. If you want to list multiple values, insert them, one per line.

If the allow multiple selection option is checked, Direct Access will display a multiple item selection where you can select more than one item to compose the final text.

Allow multiple selections

If checked Direct Access, when executing the command, displays a window that contains all the items specified in default values. Beside each items there are three checkboxes: Yes, No, Ignore. According to which checkbox is pressed near each item a different resulting text is generated.

Multiple selection

-Separate with: type the separator text that is places after each value
-Preselect items: allow some items to be preselected. Use * to pre-check an item, # to mark it as negative.
-Positive sentence: when setting the allow multiple selection checkbox is set to true, Direct Access will insert this sentence if at least one element is checked. You can specify a positive phrase to insert and using the #POS placeholder to specify where the selected items will be inserted
-Negative sentence: when setting the allow multiple selection checkbox is set to true, Direct Access can insert the list of the items marked as negative. You can specify a negative phrase to insert and using the #NEG placeholder to specify where the non marked items will be inserted
-Save as default: saves the multiple selection settings as default

Test

Click to display the Manual Input window as it will appear when executing the command.

 

 

Syntax:

#Input("description", "")

#Input("description", "defaultvalue")

#Input("description", "defaultvalue1::defaultvalue2::defaultvalue3")

#Input("description", "defaultvalue1::defaultvalue2::defaultvalue3",[option1=val1][option2=val2])

 

description: description of the information requested to the user

defaultvalue: default value used when executing the command. You can enter multiple default values: each value will be separated by the next with a :: character.

options: options are included between [] signs and have the following meanings:

 MultipleSel=Y/N (Allow multiple selection)

 Separator= (separator text, inserted between each item)

 Positive=Y/N (If yes, inserts a positive phrase)

 PositiveText= (text inserted when positive items are present)

 Negative=Y/N (If yes, inserts a negative phrase)

 NegativeText= (text inserted when negative items are present)

 

 

Example1:

The patient comes in complaining of #Input("Symptoms","vomiting::constipation::headache::fever::weakness::earache::abdominal pain",[MultipleSel=Y][Separator=, ][Negative=Y][NegativeText= and the patient does not have #NEG])

Allow you to fill in a quick medical note.

patientnote

The result phrase will be:

The patient comes in complaining of vomiting, constipation, headache and the patient does not have fever, weakness, earache

 

Example2:

#Input("Term to search?", "")

Asks for the Term to search. The default value is empty.

 

Manual Input window. Here you can enter any additional text that will be used by the command.

Manual Input window. Here you can enter any additional text that will be used by the command.

 

 

 

Works with:

autotext32 app file_web email