User manual - Scripting_Guide

NAURTECH SMART CLIENTS FOR WINDOWS CE AND POCKET PC
CETerm Scripting Guide Page 31
Method Action
GetInput Get input from the user
result = GetInput( )
GetInput displays the user input dialog. Returns 1 for successful input, 0 if input
is canceled by the user, and -1 if there was an error. A default response may be
set in the Input property prior to calling GetInput. If no default is desired, be sure
to clear Input prior to calling GetInput.
Properties
The TextInput has the following properties.
Property Description Values
Input Can be pre-set with default response
before calling GetInput. If GetInput
returns 1, contains the user input.
text
PasswordMode If true, input is shown as * characters. true, false
Prompt Text prompt message for user. text
Title Text in message box title bar. text
3.7 THE OS OBJECT
The OS object provides access to operating system resources such as files and
the registry.
Methods
The following methods are available
Method Action
Alert Show the user a text message. (synchronous)
Beep Play a default beep tone.
Exec Run a separate program.
GetErrorMessage Get a text error message for a Windows CE error value.
KillProcess Stop a running process started with Exec.