User manual - Scripting_Guide

NAURTECH SMART CLIENTS FOR WINDOWS CE AND POCKET PC
CETerm Scripting Guide Page 27
Methods
The Session object has no methods.
Properties
The Session object has several read only properties.
Property Description Values
Browser Returns browser object. (read only) object
IsConnected Returns true if session is connected.
(read only)
true, false
Screen Returns screen object. (read only) object
3.3 THE SCREEN OBJECT
The Screen object gives access to a session terminal emulation screen. This
section documents the methods and properties of the Screen object.
Methods
The following methods are available
Method Action
GetText Get all text from start location to end location
GetTextLine Get all text on a line
GetTextRect Get a rectangle of text
text = GetText( startRow, startColumn, endRow, endColumn )
Return the requested range of text. Each line will be separated by the
TextLineSeparator property value. If the session is not connected the JavaScript
null value is returned. End coordinates of -1 will use the maximum valid value.
text = GetTextLine( row )
Return the requested row of text. If the session is not connected the JavaScript
null value is returned. The row range is from 1 to the maximum row number.