Intermec CV61 Intermec Terminal Emulator (ITE) User Guide - Page 100
Example 3, Auto-Login With Variable Processing
View all Intermec CV61 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 100 highlights
Chapter 3 - Customizing Your Configuration Example 3: Auto-Login to an Application 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 after logging in. Input "Enter user name", username InputHidden "Enter Password", password HostName "*" WaitFor "login:" Send username Send "" WaitFor "Password:" Send password Send "" WaitFor "Main Menu" Send "3" Send "" WaitFor "Wip Menu" Send "1" Send "" #Prompt for user name #Prompt for password #Wait for login prompt #Send the user name #Send a carriage return #Wait for password prompt #Send the users password #Send a carriage return #Wait for the main menu #Pick option 3 from menu #Await work-in-process menu #Pick option 1 from menu Example 4: Auto-Login With Variable Processing Input "Enter user name", username InputHidden "Enter Password", password HostName "BigHost" WaitFor User:" Send username Send "" WaitFor "Password:" Send password Send "" HostName "*" WaitFor "login:" Send username Send "" WaitFor "Password:" Send password Send "" WaitFor "Main Menu" Send "3" Send "" WaitFor "Wip Menu" Send "1" Send "" #Prompt for user name #Prompt for password #Use script portion for BigHost #Wait for the user prompt #Send the user name #Send a carriage return #Wait for password prompt #Send the users password #Send a carriage return #Match any host name #Wait for login prompt #Send the user name #Send a carriage return #Wait for password prompt #Send the users password #Send a carriage return #Wait for the main menu #Pick option 3 from menu #Await work-in-process menu #Pick option 1 from menu • 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. 88 Intermec Terminal Emulator (ITE) User Guide