如何将百分号传递给消息框?

2 autohotkey variable-names percentage

使用^w::MsgBox, 100%返回值:

该参数缺少变量名。

但没有标志的同一条线也%有效。如何修复它?

six*_*ees 5

您必须转义某些字符,例如%, ,, ;。要转义它们,请使用 ` 字符。

 ^w::MsgBox, 100`%
Run Code Online (Sandbox Code Playgroud)