【发布时间】:2012-09-24 06:32:59
【问题描述】:
我的 AutoHotKey 脚本的一部分将 @@ 替换为我的电子邮件地址。目前,我正在这样做:
::@@::
SendInput, example@domain.com
return
足够简单,它工作得相当好,但你需要在替换之前推动空格/逗号/句点/等。有没有办法在没有任何进一步交互的情况下立即替换它 - 只要符合条件,它就会被替换?
按照the AutoHotKey documentation,我试过了:
StringReplace, var_Email, var_Email, @@, example@domain.com, All
但它只是清除了@@。
【问题讨论】:
标签: text replace autohotkey instant