EasyManua.ls Logo

Intermec CK30

Intermec CK30
448 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Customizing Your ConfigurationChapter 5
190 TE 2000
5250 Terminal Emulation Programmer’s Guide
Example 3
Auto-Login to an Applicatio n
Input “Enter user name”, username #Prompt for user name
InputHidden ”Enter Password”, password #Prompt for password
HostName “*”
WaitFor “login:” #Wait for login prompt
Send username #Send the user name
Send “<NEWLN>” #Send a carriage return
WaitFor “Password:” #Wait for password prompt
Send password #Send the users password
Send “<ENTER>” #Send a carriage return
WaitFor “Main Menu” #Wait for the main menu
Send “3”
Send “<ENTER>” #Pick option 3 from menu
WaitFor “Wip Menu” #Await work-in-process menu
Send “1”
Send “<ENTER>” #Pick option 1 from menu
S Example 3 modifies the script file in Example 2. The additional modification (which starts with
WaitFor “Main Menu”) allows you to move automatically to an application af ter logging in.
Example 4
Auto-Login With Variable Processing
Input “Enter user name”, username #Prompt for user name
InputHidden “Enter Password”, password #Prompt for password
HostName “BigHost” #Use script portion for BigHost
WaitFor “User:” #Wait for the user prompt
Send username #Send the user name
Send “<NEWLN>” #Send a carriage return
WaitFor “Password:” #Wait for password prompt
Send password #Send the users password
Send “<ENTER>” #Send a carriage return
HostName “*” #Match any host name
WaitFor “login:” #Wait for login prompt
Send username #Send the user name
Send “<ENTER>” #Send a carriage return
WaitFor “Password:” #Wait for password prompt
Send password #Send the users password
Send “<ENTER>” #Send a carriage return
WaitFor “Main Menu” #Wait for the main menu
Send “3”
Send “<ENTER>” #Pick option 3 from menu
WaitFor “Wip Menu” #Await work-in-process menu
Send “1”
Send “<ENTER>” #Pick option 1 from menu
S A section for the host name BigHost is added to the beginning of the script file. If you log into any
host other than BigHost, the script file starts at the HostName “*” line. This allows for different
processing on each host.

Table of Contents

Other manuals for Intermec CK30

Related product manuals