beautypg.com

3 the os object, Methods, Alert ( message ) – Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual

Page 33: Beep ( ), Status = exec( programfile, commandline ), Method action

background image

N

AURTECH

W

EB

B

ROWSER AND

T

ERMINAL

E

MULATION FOR

W

INDOWS

CE

AND

W

INDOWS

M

OBILE




CETerm Scripting Guide

Page 33


3.3

T

HE

OS

O

BJECT

The top level OS object provides access to operating system resources such as
files, processes, windows, and the registry.

Many of the automation objects on the OS hierarchy give direct access to low-
level Windows CE features. Although powerful, caution should be exercised
when using these features. We provide the basic API documentation in this
document. More information and useful discussion can be found by searching
the Microsoft msdn.microsoft.com website. Below, we suggest such searches
and provide relevant keywords.

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. (deprecated, use Process object)

GetErrorMessage Get a text error message for a Windows CE error value.
KillProcess

Stop a running process started with Exec. (deprecated)

MessageBox

Display a standard Windows MessageBox.

PlaySound

Play a wave file on the device.

PlayTone

Play a tone on the device.

Sleep

Pause the script execution.

StopSound

Stop an asynchronous playing PlaySound sound.

WaitForProcess

Wait for the specified process to end. (deprecated)

Alert ( message )

Show the user a simple text message and wait for them to press OK.

Beep ( )

Sound the default Windows beep tone.

status = Exec( programFile, commandLine )

Start the specified program. Return 0 for success, non-zero for failure.

This manual is related to the following products: