Scripting Guide
NAURTECH WEB BROWSER AND TERMINAL EMULATION FOR WINDOWS CE AND WINDOWS MOBILE
CETerm Scripting Guide Page 37
3.4 THE BROWSER OBJECT
The Browser object gives access to a web browser session. The Browser
object is a property of the Session object; CETerm.Session(i).Browser.
This section documents the methods and properties of the Browser object.
Methods
The following methods are available
Method
Action
AddMetaItem
Add a CETerm <META> element to the current web page.
Navigate
Navigate to specified URL.
RunScript
Run a script in the web browser JavaScript engine.
result = AddMetaItem ( target, content )
Add a CETerm <META> tag element to the current web page. This is typically
used to add custom <META> elements which define key mappings or other
custom behaviors. See the Naurtech Web Browser Programming Guide for
documentation on custom <META> tags. Return 0 for success, non-zero for
failure. After adding META elements that change the values of information icons
you may need to use CETerm.PostIDA( “IDA_INFO_REFRESH”, 0 ) to apply the
changes.
result = Navigate ( URL )
Navigate the browser session to the specified URL. Return 0 for success, non-
zero for failure.
result = RunScript ( script )
Execute the specified script in the browser JavaScript engine. Return 0 for
success, non-zero for failure.