Automating Login Using Quick Scripts

HostExplorer

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):

  1. In the host session window, point to Quick Script on the Tools menu and click Edit. HostExplorer Quick Script Editor opens.
  2. Double-click the default header line “Untitled: Description of Quick Script”. The Quick Script Description dialog box opens.
  3. Type a name and description for the new Quick Script file and click OK.
  4. On the Commands menu, click Declare Variable. The Declare Variable dialog box opens.
  5. In the Variable Name box, type a name for the variable; for example, UserID.
  6. In the Initial Value box, type your login name (user ID) and click OK.
  7. To declare a variable for your password, repeat steps 4 to 6.
  8. On the Commands menu, click Send Variable to Screen. The Send Variable To Screen dialog box opens.
  9. In the Variable Name list, select the variable name that you specified for your login name and click OK.
  10. On the Commands menu, click Send Keystrokes. The Send Keystrokes dialog box opens.
  11. In the Category list, select Editing Keys.
  12. In the Mnemonic list, select Tab, and click Insert. The mnemonic appears in the Keystrokes box. Click OK.
  13. On the Commands menu, click Send Variable to Screen. The Send Variable to Screen dialog box opens.
  14. In the Variable Name list, select the variable name that you specified for your password and click OK.
  15. On the Commands menu, click Send Keystrokes. The Send Keystrokes dialog box opens.
  16. In the Category list, select Action Keys.
  17. In the Mnemonic list, select Enter, and click Insert. The mnemonic appears in the Keystrokes box.
  18. Click OK.
  19. On the toolbar, click Save.

Related Topics

Connecting to a Host

Connection Folder—Other Category