Global Mapper v25.0

Scripting in Batch mode Help?

Hello everybody
Are there any other help about batch mode scripting?
Best regards
DANBRI

Answers

  • bmg_bob
    bmg_bob Global Mapper Programmer
    Hello,

    There is a recorded webinar here. It is based on an older version of Global Mapper, but the information related to scripting is still valid.

    Cheers,
    Bob
  • Hello bmg_bob
    Thanks for your repley
    I already watched this webinar but i didn't found the answer to my problem.
    I should clarify more, so when i run my line command in cmd (batch mode) as script .gms as shown in the help:
    "C:\Program Files\GlobalMapper17_64bit\global_mapper.exe" "C:\path\to\Script.gms" -var1 01 -var2 33
    it  takes the values declared in the script instead of those given as input in cmd.
    Best regards
    DANBRI
  • bmg_bob
    bmg_bob Global Mapper Programmer
    Answer ✓
    Hello,

    Are you saying that you have DEFINE_VAR commands in your script for VAR1 AND VAR2? If so, you don't need those. Having the variable name on the command line defines the variable in the script.

    Cheers,
    Bob
  • Hello Bob
    It works well ...thank you  :)  
    Absolutely.....i was declaring those varaibales using DEFINE_VAR in my script
    Best regards
    DANBRI