InputBox
Prompts for user input.
Parameters
PromptStr
A text string that describes to the user the type of input requested.
TitleStr
Text that appears in the dialog box's title bar. If this parameter is omitted, the title bar remains blank.
Note
The TitleStr parameter was added in version 4.0C1. Earlier scripts that use the optional DefaultStr parameter as the second parameter must modify their script by putting a comma in front of the DefaultStr parameter making it the third parameter.
DefaultStr
A text string to initially display in the input edit box.
Returns
A text string containing the user's response or an empty string if the user clicks Cancel.
Remarks
The InputBox dialog displays the prompt string, a field for user input, and the OK and Cancel buttons. Backslash characters ( \ ) embedded in PromptStr are treated as CRLFs and can be used to control the width and height of the prompt text.
Example
ResultStr = InputBox( "Enter run date:", "Run Date", "02/07/2000" )
EMWriteScreen ResultStr, 22, 7
EMSendKey "@E"
EMWaitReady 10, 1