This command returns before my script is finished:
autohotkey myscript.ahk parm1 parm2
How do I run this in the foreground (not exit until done)?
From the command line, where autohotkey.exe is in scope:
start /wait autohotkey myscript.ahk parm1 parm2