Exit Session Macro
PASSPORT PC to Host, PASSPORT Web to Host
TN3270, TN5250, VT, SCO ANSI, Wyse 60
How can the ExitSession function be used in a macro to close the PASSPORT window?
Below is a sample macro that will display a dialog box then close the PASSPORT window when the OK button is pressed:
Sub ZMain()
TitleString="PASSPORT Macro"
MsgBox "Press OK to close the PASSPORT window.",0,TitleString
ExitSession()
End Sub
macro, close, exit, ExitSession