User manual - Scripting_Guide

NAURTECH SMART CLIENTS FOR WINDOWS CE AND POCKET PC
CETerm Scripting Guide Page 3
Table of Contents
Copyright Notice .............................................................................................................................. 2
Trademarks...................................................................................................................................... 2
Software Version ............................................................................................................................. 2
Table of Contents ............................................................................................................................ 3
Preface ............................................................................................................................................ 6
Assumptions .................................................................................................................................... 6
Conventions used in this Manual..................................................................................................... 6
Additional Documentation................................................................................................................ 7
Online Knowledgebase.................................................................................................................... 7
1.0 Introduction ................................................................................................................................ 8
1.1 Feature Highlights.................................................................................................................. 9
2.0 Getting Started ........................................................................................................................ 11
2.1 JavaScript Engine ................................................................................................................ 11
2.2 Enabling Scripting and Editing Scripts................................................................................. 12
General Settings..................................................................................................................... 12
Editing Scripts ........................................................................................................................ 12
2.3 CETerm Automation Objects ............................................................................................... 15
2.4 IDA Action Codes................................................................................................................. 15
2.5 OnBarcodeRead Script Event.............................................................................................. 15
2.6 Automated Login.................................................................................................................. 18
2.7 Custom Screen Hot-Spots ................................................................................................... 20
3.0 CETerm Automation Objects...................................................................................................22
3.1 The CETerm Object ............................................................................................................. 22
Methods.................................................................................................................................. 22
Properties ............................................................................................................................... 26
3.2 The Session Object.............................................................................................................. 26
Methods.................................................................................................................................. 27
Properties ............................................................................................................................... 27
3.3 The Screen Object ............................................................................................................... 27
Methods.................................................................................................................................. 27
Properties ............................................................................................................................... 28
3.4 The Browser Object ............................................................................................................. 28
Methods.................................................................................................................................. 28
Properties ............................................................................................................................... 29
3.5 The Message Object............................................................................................................ 29
Methods.................................................................................................................................. 30
Properties ............................................................................................................................... 30
3.6 The TextInput Object ........................................................................................................... 30
Methods.................................................................................................................................. 30
Properties ............................................................................................................................... 31
3.7 The OS Object ..................................................................................................................... 31
Methods.................................................................................................................................. 31
Properties ............................................................................................................................... 33
3.8 The File Object..................................................................................................................... 34
Methods.................................................................................................................................. 34
Properties ............................................................................................................................... 36
3.9 The Registry Object ............................................................................................................. 37