Require Response
If you select true in the Require Response listbox (the default
is false) then:
- The macro runtime displays the text string (required) to the right of the input field, to indicate to the end user that input is required for this input field.
- The macro runtime disables the OK button of 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.
- When OK is enabled, the end user can click either OK or Cancel,
as usual:
- Clicking OK causes the macro to process the Prompt action and continue processing the macro.
- Clicking Cancel terminates the macro playback.
- When OK is not enabled, the end user can click Cancel.
- Clicking Cancel terminates the macro playback.
If you select false in the Require Response listbox then:
- The macro runtime does not display the text string (required)to the right of the input field.
- The macro runtime enables the OK button on the prompt window immediately
as soon as the prompt window is displayed, whether or not the input
field contains text.
- The user can click OK or Cancel, as usual:
- Clicking OK causes the macro runtime to process the Prompt action and then to continue processing the macro. In the Prompt action, if the input field is blank, the macro runtime does not send an input key sequence to session window.
- Clicking Cancel terminates the macro playback.
- The user can click OK or Cancel, as usual:
If the promptall attribute of the <HAScript> element (or of the <actions> element) is set to true, and you have several prompt actions in the macro (or in the macro screen) with Require Response set to true, then at the start of macro playback (or at the start of the playback of the macro screen), when the macro runtime displays all the prompt input fields in a single prompt window, the macro runtime does not enable the OK button in the prompt window until all required input fields contain text (see The promptall attributes ).