Automating Login Using Quick Scripts
Automate host login by creating a Quick Script that contains the necessary information.
To automate your login (5250, in some cases 3270 and VT):
- In the host session window, point to Quick Script on the Tools menu and click Edit. HostExplorer Quick Script Editor opens.
- Double-click the default header line “Untitled: Description of Quick Script”. The Quick Script Description dialog box opens.
- Type a name and description for the new Quick Script file and click OK.
- On the Commands menu, click Declare Variable. The Declare Variable dialog box opens.
- In the Variable Name box, type a name for the variable; for example, UserID.
- In the Initial Value box, type your login name (user ID) and click OK.
- To declare a variable for your password, repeat steps 4 to 6.
- On the Commands menu, click Send Variable to Screen. The Send Variable To Screen dialog box opens.
- In the Variable Name list, select the variable name that you specified for your login name and click OK.
- On the Commands menu, click Send Keystrokes. The Send Keystrokes dialog box opens.
- In the Category list, select Editing Keys.
- In the Mnemonic list, select Tab, and click Insert. The mnemonic appears in the Keystrokes box. Click OK.
- On the Commands menu, click Send Variable to Screen. The Send Variable to Screen dialog box opens.
- In the Variable Name list, select the variable name that you specified for your password and click OK.
- On the Commands menu, click Send Keystrokes. The Send Keystrokes dialog box opens.
- In the Category list, select Action Keys.
- In the Mnemonic list, select Enter, and click Insert. The mnemonic appears in the Keystrokes box.
- Click OK.
- On the toolbar, click Save.