Closing PASSPORT window automatically after host session ended
PASSPORT PC to Host, PASSPORT Web to Host
TN3270, TN5250, VT, SCO ANSI, Wyse 60
Closing PASSPORT window automatically after host session ended
This can be done by using the ExitSession() macro command along with the command that ends the telnet session (like logoff or exit). An example macro would be:
Sub ZMain()
Dim Text, ret
SendHostKeys ("logoff<ENTER>")
ret = WaitForHostUpdate(10)
ret = WaitForHostUpdate(10)
ret = WaitForHostUpdate(10)
ExitSession()
End Sub
This macro can be mapped to a key, toolbar, button bar, etc. to trigger this sequence.
close, window, automatically, after session ended, close session