beautypg.com

11 the network object, Methods, Ipaddress = dnslookup ( hostname ) – Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual

Page 61

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 61


Property

Description

Values

AbortButtonVisible If true, a script abort button is visible.

Taping this button will abort the current
script execution.

true, false

IsVisible

If true, message dialog is visible.

true, false

Progress

Current progress value in percent.

0 to 100

ProgressRate

Rate of change of progress bar. In units
of percent per second.

1 to 100

ProgressRunning

If true, Progress increases at
ProgressRate

true, false

ProgressVisible

If true, progress bar is shown

true, false

Text

Text of message.

text

Title

Text in message box title bar.

text

Timeout

Visibility timeout for dialog. After this
interval, message dialog is closed. A
value of 0 disables this timeout.

0 to 9999



3.11

T

HE

N

ETWORK

O

BJECT

The Network object provides access to the network features such as hostname
resolution, ping, and FTP. The Network object is a property of the OS object;
OS.Network.

Methods

The following methods are available

Method

Action

DNSLookup

Lookup the IP address of a given hostname.

Ping

Test whether a host is reachable across an IP network.

ipAddress = DNSLookup ( hostname )

Return the IP address corresponding to the hostname as a string. Returns null if
cannot resolve the IP address. Use the Network property LastDNSError to get
additional error information.

This manual is related to the following products: