Set haWin32 = GetObject(,"HAWin32")
Set haScript = haWin32.haInitialize("existing instance")

cr = Chr(13)

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

haScript.haTerminate

To execute this sample save the above code as .vbs file. Have your HyperACCESS connection open, then double click the saved file to execute. The script will attach to the already running instance of HyperACCESS.

Return to sample script index

Hilgraeve