Scripting Guide

NAURTECH WEB BROWSER AND TERMINAL EMULATION FOR WINDOWS CE AND WINDOWS MOBILE
CETerm Scripting Guide Page 67
JavaScript array, but it is easy to convert a Visual Basic array into a JavaScript
array using the VBArray object. For example:
var valuename = "HKLM\\Comm\\PY21BG1\\Parms\\TcpIp\\DhcpDNS";
var vbarray = new VBArray( OS.Registry.ReadValueVBArray( valuename );
var jsarray = vbarray.toarray();
status = WriteValue ( valuename, valuedata, datatype )
Write the specified value. Use a fully qualified value name that starts with a root
key. WriteValue will create the containing key if it does not exist. Binary values
are submitted as a list of comma separated hexadecimal digits. MULTI_SZ
strings are separated with the current StringSeparator property value. Returns 0
for success, non-zero for error. See Appendix 4 for root key names and datatype
definitions. Common datatypes are “REG_SZ” for a string and “REG_DWORD”
for a DWORD value.
Properties
The Registry object has the following property.
Property
Description
Values
StringSeparator
Text string that separates MULTI_SZ
values. Default: "<|>"
text
3.14 THE SCREEN OBJECT
The Screen object gives access to a session terminal emulation screen. The
Screen object is a property of the Session object;
CETerm.Session(i).Screen. This section documents the methods and
properties of the Screen object.
To access text in a browser page, use the Browser.Document reference and
read the text directly from the desired page element.
Methods
The following methods are available