Using Scripter For Automation

Tasks can be automated in Surfer using Golden Software's Scripter program or any ActiveX Automation-compatible client, such as Visual BASIC. A script is a text file containing a series of instructions for execution when the script is run. Scripter can be used to perform almost any task in Surfer. Scripts are useful for automating repetitive tasks and consolidating a sequence of steps. Scripter is installed in the same location as Surfer. Refer to the Surfer Automation topic in the help for more information about Scripter. We have included several example scripts so that you can quickly see some of Scripter's capabilities.

To run a sample script file:

  1. Open Scripter by navigating to the installation folder, C:\Program Files\Golden Software\Surfer\Scripter. If you are running a 32-bit version of Surfer on a 64-bit version of Windows, navigate to C:\Program Files (x86)\Golden Software\Surfer\Scripter. Right-click on the Scripter.exe application file and select Run as administrator.

  2. Choose the File | Open command.

  3. Select a sample script .BAS file. These are located in the C:\Program Files\Golden Software\Surfer\Samples\Scripts folder or, if you are running a 32-bit version of Surfer on a 64-bit version of Windows, the C:\Program Files (x86)\Golden Software\Surfer\Samples\Scripts folder.

  4. Click the Script | Run command and the script is executed. Most sample scripts open Surfer and display a map in the plot window.

See Also

Introduction to Scripter