AutoHotkey HotString 中的“+4”替换为“$”

"+4" replaced by "$" in AutoHotkey HotString

我有一个 AutoHotKey 热字串

:*:#hotstring::Some Text and a number 12345 || +49 123456789 || PIN 1234

输出到

Some Text and a number 12345 ||  123456789 || PIN 1234

为什么“+4”被“$”取代了?我该如何避免?

经过一些研究,我想出了一个解决方案,请尝试并告诉我它是否有效。

好像shift、ctrl等字符需要转义。这是一个列表:

  • #: Windows 徽标键
  • !: Alt
  • ^: 对照
  • +:移位
  • &: 组合自定义键。

逃避它们的方法是在大括号之间。

:*:#hotstring::Some Text and a number 12345 || {+}49 123456789 || PIN 1234

希望对您有所帮助。