Autohotkey:如何在 ahk 脚本中的 运行 语句中使用嵌套双引号

Autohotkey: How to use nested double quotes on a run statement in ahk script

我有问题。我是 运行ning v1.1.13.00 版本的 autohotkey。 我的脚本工作正常,除非我需要 运行 在其他双引号内使用双引号。 我检查了 AHKscript 论坛,我看到的是你只是使用它们而没有任何转义字符,但这对我不起作用。

我的热键组合没有被任何其他脚本、程序或任何东西劫持。我可以给它分配另一个功能,它可以工作。

到目前为止我已经尝试过:

^+h::
run "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --window-size=300,300 --window-position=200,100 --app=http://hangouts.google.com/"
return

由于明显的原因而不起作用(space in 运行 字符串)

^+h::
run ""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --window-size=300,300 --window-position=200,100 --app="http://hangouts.google.com/""
return

^+h::
run "`"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe`" --window-size=300,300 --window-position=200,100 --app=`"http://hangouts.google.com/`""
return

以上两次迭代,打开autohotkey所在文件夹,停止

^+h::
run "{"}C:\Program Files (x86)\Google\Chrome\Application\chrome.exe{"} --window-size=300,300 --window-position=200,100 --app=http://hangouts.google.com/"
return

不喜欢大括号的错误

哦,顺便说一句,run http://hangouts.google.com 后接 winmove, x, y, width, height 将无法正常工作,因为我的默认浏览器不是 chrome,而是 IE,而且我没有在 IE 上登录我的帐户。 (如果您愿意,可以将工作和个人账户分开)

此时,我不知道该何去何从。如果有人知道如何进行,我会洗耳恭听。

强制表达式并使用双引号转义双引号:""

run, % """C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"" --window-size=300,300 --window-position=200,100 --app=http://hangouts.google.com/"