$LANG = "VBScript"
haConnectSession 4
haTerminate
To execute this sample save the above code as a text file. In HyperACCESS click Automation->Run, and select the text file. This script could also be set to run automatically by clicking Properties->File Usage.
To return to waiting automatically set this script as both “script to run before connecting” and “script to run after disconnecting”.