logo

img

Knowledgebase Home > MapViewer Scripter | Contact Knowledgebase Home | Contact
Search the Knowledgebase Browse by Category
MapViewer Scripter rss button
Scripts and Tips for MapViewer
There were 8 questions found in this category:
  1. questionWhere can I find script examples?
    There are many locations where script examples can be located. Download Scripts for Surfer, Grapher, and MapViewer from our website: Golden Software provides a number of useful sample scripts that product owners can download for free from our website. http://www.goldensoftware.com/scripts.s ...

  2. questionNorton SONAR removes the Golden Software executable files as a security threat! I can?t install or run the software now. What is going on?
    Norton AntiVirus, 360, Internet Security and other Norton products may remove and quarantine the Grapher 8, Surfer 9, Voxler 2 and Strater 2 installation (from CD) and application executable files as threats. Once this happens, they will no longer run. Our software does not contain viruses or ot ...

  3. questionWhat is the "online help"?
    Online Help: The term "online help" refers to the help file accessible from the program. The online help is accessed through the programs Help menu. For example, in Surfer use the Help | Contents command to open the online help. The online help contains information on all of the commands, dialog ...

  4. questionHow can I enter a Query expression in a script?
    Enter the Query expression in a script the same way you would enter it in the program, the only difference is the quotes. In a script, a single set of double quotes surrounds the entire expression, and anywhere within the string where quotes are needed (ie. around the PID or SID values), put two ...

  5. questionWhat is the easiest way to learn Scripter?
    Teaching yourself to write scripts is possible. MapViewer uses a Visual Basic-like model. This means that objects are "drilled down" to get to commands. If you are commpletely new to writing any types of scripts or macros, I would recommend getting a good book on Visual Basic, such as Visual ...

  6. questionCan I make my map fill the page, using Scripter?
    Yes, the map can be made to fill the page. In the program, the map will automatically scale to fill the page when you import new objects. But, in the script, you need to tell the program to do this after you load the map. Use the SetScale command to change the map scale to fit the page. 'Cre ...

  7. questionHow can I specify the size of the bitmap being exported in a script?
    The Plot.Export command is accessible from the PlotDocument object. 'Open a file so there is something to export Set Plot = mvApp.Documents.Open(mvApp.ApplicationFolder + "Samples\flow.gsm") After you have a PlotDocument (Plot), you can export the map using the Export command. 'Export the ma ...

  8. questionHow can I use List boxes and Push buttons in a script?
    Below is an example of how to handle a button press event in a user dialog and how to move multiple strings from one listbox to another. Option Explicit Dim L1() As String 'string array for the first listbox Dim L2() As String 'string array for the second listbox Sub Main ' initialize the first ...

Products