Allow script parameters in batch mode.

Mike,
Would it be possible to allow passing parameter values on the command line when running a script in batch mode ?
Given the following example
command line arguments would allow to pass the prompted variables to the script.
global_mapper13 scriptfile.gms 'Zone=032' 'Section=A'
I built a script that I will need to run 160 times with different values (10 zones with 16 sections each). Now I do it interactively and I type in my values but it would be nice if I could make a batch file to run GM with my parameters 160 times and just let it go unattended.
Would it be possible to allow passing parameter values on the command line when running a script in batch mode ?
Given the following example
GLOBAL_MAPPER_SCRIPT VERSION=1.00 SET_LOG_FILE FILENAME="G:\Canvec1.log" DEFINE_VAR NAME="iPath" VALUE="S:\Data\Geomatique\Cartes\Canvec" PROMPT=NO DEFINE_VAR NAME="lPath" VALUE="S:\Data\Geomatique\Cartes\Geobase\Elevation\50K" PROMPT=NO DEFINE_VAR NAME="ePath" VALUE="S:\Data\Geomatique\Cartes" PROMPT=NO DEFINE_VAR NAME="Projet" VALUE="Maison" PROMPT=NO DEFINE_VAR NAME="Zone" VALUE="031" PROMPT=YES PROMPT_TEXT="Zone Number:" DEFINE_VAR NAME="Section" VALUE="E" PROMPT=YES PROMPT_TEXT="Section"
command line arguments would allow to pass the prompted variables to the script.
global_mapper13 scriptfile.gms 'Zone=032' 'Section=A'
I built a script that I will need to run 160 times with different values (10 zones with 16 sections each). Now I do it interactively and I type in my values but it would be nice if I could make a batch file to run GM with my parameters 160 times and just let it go unattended.
Comments
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com
I'm aware of the coming VAR_LOOP as I'm the person who suggested it
Does it support looping on alphabetical sequences like A to P ? Maybe I misunderstood but I thought it would only work for numbers.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com
Thank's Mike. I'm really looking forward to v14.