Input-Dialog
Command Description
Pop up an input dialog box, and return the content entered by the user in the dialog box
Command Prototype
sRet = Dialog.InputBox(sText,sTitle,sDefault,bNumberOnly)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
sText | True | string | "" | The prompt message content displayed in the dialog box |
sTitle | True | string | "Laiye RPA" | Dialog title |
sDefault | True | string | "" | The default text content entered in the dialog box |
bNumberOnly | True | boolean | None | The default text content entered in the dialog box |
return
sRet,The variable used to save the output of the command.
Demo
Dim sRet
sRet = Dialog.InputBox("This is a system dialog","This is the dialog title","Please enter text here",false)
TracePrint (sRet)
/**
The output result is the content entered by the user in the dialog box
sRet = "This is the dialog title"
*/