How to get user input for an Admin Task
When a command is run as part of an Admin Task it is possible to prompt the user for input - arguments to be used by the command. The format of the prompt is:
[
datatype:
prompt:
lutname:
separator]
where:
datatype | is one of: | |||||||||||||||||||||
|
||||||||||||||||||||||
It is possible to specify a default value, width and height for the datatype. The format of the command is: [datatype;default value; width; height:...] All parts, except for datatype are optional. |
||||||||||||||||||||||
prompt |
is the text of the request for each datatype specified. If more than one request is specified for a command, all requests are displayed on the one dialogue box. Each option is not prompted for individually. For example, the command string: ls [text:Enter ls options] [text:Enter starting Directory] would generate the following dialogue box:
|
|||||||||||||||||||||
lutname |
is optional. The name of a Lookup List in the eluts database used to populate the combobox and listbox with values. If a level of a (hierarchical) lookup list is required, the lutname should be specified as lutname;level. As an example, if the second level of the Place Name Lookup List was required, then the lutname parameter would be Place Name;2. |
|||||||||||||||||||||
separator |
is an optional character (e.g. | or -) used to separate multiple selections by a user from lutname. |