To load a new defaults file as part of your Surfer script, exit Surfer if it's already running and then add the shell( ) and GetObject( ) commands shown below to the beginning of your script.
Note that the location and name of the new SET file will need to be adjusted on line 1.
Shell("C:\Program Files\Golden Software\Surfer\surfer.exe /set C:\Program Files\Golden Software\Surfer\AppData\dan.set",1) Wait 4 'Wait a few seconds to allow Surfer to start
Updated October, 2021
Please sign in to leave a comment.