prompt Statement

Added: build 219

Purpose

Causes FileWrapper execution to pause to allow "user in the loop" operations to be performed. When the prompt is closed, the FileWrapper execution will continue.

Applicability

The prompt command can be used within RunCommands sections.

Syntax

prompt <message> [promptVar=true|false]

Arguments

NameDescription
message A message to display to the user in the prompt dialog.

Options

NameDescription
promptVar New as of build 237. If true, causes a variable named "promptUser" to be created. When this variable is set to true, the user will be prompted when the wrapper is run. When set to false, the wrapper will run as normal without prompting. By default, promptVar=false.

Example

The following RunCommands allow the user to manually execute a program. The Analysis Server will still handle generating the input file and parsing the output file.
RunCommands 
{ 
   generate inFile 
   prompt "press 'ok' after you have successfully run the program."
   parse outFile 
}
  

See also Analysis Server | FileWrapper | FileWrapper Statements