mmikeww / AHK-v2-script-converter

AHK v1 -> v2 script converter
https://autohotkey.com/boards/viewtopic.php?f=6&t=25100
The Unlicense
527 stars 40 forks source link

Error converting 2nd parameter of run command #262

Open fade2gray opened 1 month ago

fade2gray commented 1 month ago

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")
Banaanae commented 1 month ago

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