Global Mapper v25.0

can script file accept arguments?

vigosun
vigosun Global Mapper User
edited December 2007 in Technical Support
My gm version is 9.0 and i want to write a script which is invoked automatically when a processing is requested, but the content to be processed maybe different. so, does .gms files can accept command line arguments? or i have to handle it myself? it seemed that there is no info in the document.

thank you.

Comments

  • global_mapper
    global_mapper Administrator
    edited December 2007
    Global Mapper script files do not currently accept command-line arguments, so you will need to have some stub application that dynamically creates a Global Mapper script based on command-line arguments, then calls Global Mapper itself with the generated script file.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • vigosun
    vigosun Global Mapper User
    edited December 2007
    ok, i see. thank you very much