<prompt> element
The <prompt> element displays a popup window prompting the user for input, waits for the user to click OK, and then sends the input to the host terminal (see Prompt action (<prompt> element)).
- movecursor
- Optional boolean. Setting this attribute to true causes the macro runtime to move the cursor to the end of the input.
- xlatehostkeys
- Optional boolean. Setting this attribute to true causes the
macro runtime to interpret the names of action keys (such as
[enter]) as action keys rather than as sequences of characters.
- assigntovar
- Optional variable name. Setting this attribute to a variable name causes the macro runtime to store the input into the variable whose name you specify here.
- varupdateonly
- Optional boolean. Setting this attribute to true causes the macro runtime to store the input into a variable and not to send it to the host terminal. This attribute takes effect only if the assigntovar attribute is set to true.
- required
- Optional boolean. Setting this attribute to true causes the macro runtime to disable the OK button in the prompt window until the input field of the prompt window contains text. The input field can contain text either because you have specified a Default Response or because the user has typed text into the input field.
- screenorientation
- Optional string. Use this attribute to define the host screen
orientation to use for the prompt during macro playback at runtime.
Options are
LTRandRTL.