User Manual

NAURTECH EMULATORS & WEB BROWSER FOR WINDOWS CE / WINDOWS MOBILE
CETerm | CE3270 | CE5250 | CEVT220 Page 137
Automatic login
You can automate the login process to a host application for a given session. To do so,
configure the host terminal session.
Starting at the first screen, record a macro for logging into the host application
and navigating to the desired host application screen.
Logout and playback the macro manually, using the macro toolbar, to ensure it
works properly.
Once satisfied, check the ―Macro on Connect‖ option. You can do this from the
‖Advanced‖ dialog of the ―Connection‖ tab from the [Session][Configure]
dialog.
Creating a Mini-Macro
Within the Naurtech smart clients, most application operations have an associated ID Action (or
IDA) code defined. These IDA codes can be chained to create a sequence of events, which is
called a mini macro. This sequence of events can be remapped to any key.
You can use the User Text configuration to define a sequence of IDA operations which will get
executed is serial order. This is a mini-macro. To create your mini macro:
1. Navigate to [Session]->[Configure]->[Options]->[Config KeyBars and
Keys]->[User Text]
2. Enter your IDA sequences for Text n entries, where n is an index number between 1
and 64. The syntax is demonstrated via examples below.
3. Now you can remap Text n to any application, hardware or KeyBar key. Note that there
are KeyBar buttons only for Text 1 through 20
Text 1 = \IDA_SESSION_S1\\IDA_SLEEP_5000\\IDA_SESSION_CONNECT\
In the example above, Text 1 will trigger the following operations in order:
It will switch to session S1
Wait for 5 seconds (5000 milliseconds)
Attempt to connect to the configured host on this session
Text 2 = \IDA_SESSION_DISCON_ALL\\IDA_PROGRAM_EXIT\
In the example above, Text 2 will trigger the following operations in order:
Disconnect all connected host sessions
Exit CETerm application
You can join several IDA actions to create an elaborate macro to automate application navigation
steps. Please contact us at support@naurtech.com for more information on IDA codes to create
mini macros.