HyperACCESS Sample Scripts

Below is a collection of HyperACCESS sample scripts which demonstrate some of the capabilities of HyperACCESS’ scripting features and show how to use the API in a variety of languages including Visual Basic, VBScript/VBA, Javascript, PHP, ASP, C++, C# to automate your terminal connections.

The API Manual contains a description of each of the API functions.

We also have professional scripting services available at a rate of $99.99 per hour if you would be interested in having Hilgraeve develop a custom script for you. Please contact us at support@hilgraeve.com if you would like more information or to get an estimate for a scripting project.

Script Title Description Language Code
VBScript in HA Example of VBScript running within HyperACCESS VBScript view code
Javascript in HA Example of JavaScript running within HyperACCESS JavaScript view code
Clean vb Simple example to run HyperACCESS Script in Visual Basic Visual Basic view code
Clean vbs Simple example to run HyperACCESS Script in VBScript VBScript view code
Excel Autoimport This sample parses data received by HyperACCESS and enters it into an Excel spreadsheet VBA view code
Access Autoimport This sample parses data received by HyperACCESS and enters it into a Microsoft Access database VBA view code
Clean C# Simple example to run HyperACCESS Script in C# C# view code
C# GUI C# GUI example to send commands from HyperACCESS C# download code
C++ GUI C++ GUI example to send commands from HyperACCESS C++ download code
Clean PHP PHP example to connect, run a command, and display the result in a web page. PHP view code
Login This sample opens a connection, logs into a system, and sends commands. VBScript view code
File Transfer This sample opens a connection, sends a file, and receives a file. VBScript view code
Capture Text This sample enters a command and captures the response to the command to a text file. VBScript view code
Custom Baud Rate This sample shows how to set a specific baud rate if the needed speed is not available in the dropdown. VBScript view code
Timestamp This sample appends a date/time stamp to each value received from a system. VBScript view code
Simple host in ha This sample runs HyperACCESS as a simple host from within HyperACCESS VBScript view code
Simple host vbs This sample runs HyperACCESS as a simple host from an external script VBScript view code
Parse response This sample will capture the response to a command to a variable. VBScript view code
Existing instance This sample attaches to an existing instance of HyperACCESS rather than creating a new instance. VBScript view code
Multiple instances This sample controls multiple instances of HyperACCESS. VBScript view code
Auto-updating Web Page This sample captures incoming data to a file, which is then loaded into a dynamically updating web page using HTML5 server-sent events. HTML5, PHP, VBScript view code
Simple Relay This sample captures incoming data from one connection and relays it to a seperate second connection. VBScript view code
Two-Way Relay This sample connects to two seperate connections, and relays data between both of them. Visual Basic view code
Voice caller This sample connects to a voice modem, dials a specific number, plays back recorded audio, and checks for a dialed response. Visual Basic view code
Hilgraeve