【发布时间】:2021-11-02 04:48:36
【问题描述】:
示例脚本:
#NoEnv
#Warn
#SingleInstance Force
#IfWinActive Foo ahk_exe foo.exe
!A::Send Foo
SetTitleMatchMode Regex
#IfWinActive Bar$ ahk_exe bar.exe
!A::Send Bar
运行时,解释器抛出:
我只想将SetTitleMatchMode Regex 应用到bar.exe,不将其放在脚本之上是否可以实现?
【问题讨论】:
标签: automation scripting keyboard-shortcuts autohotkey hotkeys