mmikeww/AHK-v2-script-converter

Error converting 2nd parameter of run command

Opened this issue · 1 comments

V1:

Run,% "*RunAs " ComSpec " /c .\folder\foo.exe .\folder\bar.sys " foobar, A_ScriptDir, Hide

V2 (Converted):

Run("*RunAs " A_ComSpec " /c .\folder\foo.exe .\folder\bar.sys " foobar, "A_ScriptDir", "Hide")

V2 (Expected):

Run("*RunAs " A_ComSpec " /c .\folder\foo.exe .\folder\bar.sys " foobar, A_ScriptDir, "Hide")

I'll need to look into this more, but it might be a larger issue than just Run 2nd param