Casio Naurtech CETerm Ver.5.5 Scripting Guide User Manual

Page 3

Advertising
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 3


Table of Contents


Copyright Notice .............................................................................................................................. 2

Trademarks ...................................................................................................................................... 2

Software Version ............................................................................................................................. 2

Table of Contents ............................................................................................................................ 3

Preface ............................................................................................................................................ 7

Assumptions .................................................................................................................................... 7

Conventions used in this Manual..................................................................................................... 7

Additional Documentation ................................................................................................................ 8

Online Knowledgebase .................................................................................................................... 8

1.0 Introduction ................................................................................................................................ 9

1.1 Feature Highlights ................................................................................................................ 10

2.0 Getting Started ........................................................................................................................ 12

2.1 JavaScript Engine ................................................................................................................ 12

2.2 Enabling Scripting and Editing Scripts ................................................................................. 13

General Settings ..................................................................................................................... 13

Editing Scripts ........................................................................................................................ 13

2.3 CETerm Automation Objects ............................................................................................... 16

2.4 IDA Action Codes ................................................................................................................. 16

2.5 OnBarcodeRead Script Event .............................................................................................. 16

2.6 Automated Login .................................................................................................................. 19

2.7 Custom Screen Hot-Spots ................................................................................................... 21

2.8 Handling JavaScript Literal Values ...................................................................................... 22

2.8.1 Array Literals ................................................................................................................. 23

2.8.2 Object Literals ............................................................................................................... 23

2.8.3 Complex Literals ............................................................................................................ 23

2.8.4 Optional Object Properties ............................................................................................ 24

3.0 CETerm Automation Objects ................................................................................................... 25

3.1 The CETerm Object ............................................................................................................. 25

Methods .................................................................................................................................. 25

Properties ............................................................................................................................... 30

3.2 The Device Object ............................................................................................................... 30

Methods .................................................................................................................................. 30

Properties ............................................................................................................................... 32

3.3 The OS Object ..................................................................................................................... 33

Methods .................................................................................................................................. 33

Properties ............................................................................................................................... 35

3.4 The Browser Object ............................................................................................................. 37

Methods .................................................................................................................................. 37

Properties ............................................................................................................................... 38

3.5 The Event Object ................................................................................................................. 38

Methods .................................................................................................................................. 38

Properties ............................................................................................................................... 42

3.6 The File Object ..................................................................................................................... 43

Methods .................................................................................................................................. 43

Properties ............................................................................................................................... 46

3.7 The FTP Object .................................................................................................................... 46

Methods .................................................................................................................................. 47

Advertising
This manual is related to the following products: