Intermec CV41 Intermec Terminal Emulator (ITE) User Guide - Page 99
Sample Auto-Login Script Files, Example 1
View all Intermec CV41 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 99 highlights
Chapter 3 - Customizing Your Configuration Sample Auto-Login Script Files You can use these sample script files as they are or as the starting point for creating your own auto-login script files. Example 1: Auto-Login With All Computers Using the Same Account HostName "*" WaitFor "login:" Send "username" WaitFor "Password:" Send "letmein" #Use this to log into any host #Wait for the login prompt #Send the user name #Wait for the password prompt #Send the password • The HostName command matches the host the user accesses. • The WaitFor command waits for a string to be displayed by the host. WaitFor takes up to 10 strings, 20 characters long. The strings must be enclosed in quotes and separated by a comma. • The first Send command sends a fixed user name, the second Send sends a fixed password. • Angle brackets < and > can enclose uppercase mnemonics or hexadecimal values. Example 2: Auto-Login With Different User Names and Passwords Input "Enter user name", username InputHidden "Enter password", password HostName "*" WaitFor "login:" Send username Send "" WaitFor "Password:" Send password Send "" #Prompt for user name #Prompt for password #Prompt for 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 • The Input and Send commands use input variables. Input commands require a prompt string followed by a comma and a variable name in which to store the string. • The InputHidden command displays "*" in place of any characters the user types. Place all Input commands before the first HostName command. • The Send command only accepts a single argument, so you need two Send commands to send the user name and a carriage return. Intermec Terminal Emulator (ITE) User Guide 87