The path to the tn3270.exe file.
The home directory of the emulator.
The path to the WHLLAPI.DLL file.
WinHLLAPI
The IP address of the host that you want to connect to.
WaitForText "ogin:"
Type $Username
Type @E
WaitForText "assword:"
Type $Password
Type @E