Single quotes can be escaped but not double quotes.
There's a weird issue however. If we add a escaped grave (`) to the beginning of the string all the double quotes will pass through but it works only for the first argument.
If we try the following
Code: Select all
newThread := '
(
MsgBox(A_Args[1] . " " . A_Args[2])
)'
ExeThread(newThread, '``"STRING1" ``"STRING2"')
Sleep 3000
Which part of that is a bug?
Shouldn't AHK just accept escaped double quotes in arguments as well, just like it accepts single quotes?