$LANG = "VBScript"
cr = Chr(13)

haAbortOnError

haWaitForPrompt "some prompt>"
haTypeText "some command"&cr

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.

Return to sample script index