Autohotkey 我如何逃离'+';自动热键中的字符,以及日期脚本?

Autohotkey 我如何逃离'+';自动热键中的字符,以及日期脚本?,autohotkey,Autohotkey,我使用自动热键显示实际日期。 代码如下: :*C:]d:: ; This hotstring replaces "]d" with the current date and time via the commands below. FormatTime, CurrentDateTime,, yyyy‑MM‑dd ‒ HH'H'mm '(UTC+1)' ; It will look like 2005-01-09 15H53 (UTC+1) SendInput %Curren

我使用自动热键显示实际日期。 代码如下:

:*C:]d::  ; This hotstring replaces "]d" with the current date and time via the commands below.
FormatTime, CurrentDateTime,, yyyy‑MM‑dd ‒ HH'H'mm '(UTC+1)' ; It will look like 2005-01-09 15H53 (UTC+1)
SendInput %CurrentDateTime%
return
但是结果没有找到“+”,我用了“`”或“, 两者都不是vrog

谢谢你的帮助。 祝你白昼愉快,生活愉快。

请使用


此外,如果您想放弃传统的AHK语法,您可以这样做:

:*C:]d::
    FormatTime, CurrentDateTime, , % "yyyy‑MM‑dd ‒ HH'H'mm '(UTC+1)'"
    SendInput, % "{Text}" CurrentDateTime
return

TʰangəjuəvɛruəməTʃə!
:*C:]d::
    FormatTime, CurrentDateTime, , % "yyyy‑MM‑dd ‒ HH'H'mm '(UTC+1)'"
    SendInput, % "{Text}" CurrentDateTime
return