Macros 热键重新分配宏不工作
我正在使用自动热键重新分配Dr.Explain中的一些热键。宏执行到消息点,但实际的新热键不工作 以下是脚本:Macros 热键重新分配宏不工作,macros,autohotkey,Macros,Autohotkey,我正在使用自动热键重新分配Dr.Explain中的一些热键。宏执行到消息点,但实际的新热键不工作 以下是脚本: WinActivate, DRAFT_Complete Jazzit Help Masterfile* - Dr.Explain (Licensed to: Accountants Templates Inc.) MsgBox Normal --> Alt + A and Normal - emphasis --> Alt + S Return ;Change key
WinActivate, DRAFT_Complete Jazzit Help Masterfile* - Dr.Explain (Licensed to: Accountants Templates Inc.)
MsgBox Normal --> Alt + A and Normal - emphasis --> Alt + S
Return
;Change keystrokes for normal and normal-emphasis
#Inputlevel 1
^+n::!a
^+6::!s
#Inputlevel 1
#IfWinActive
不知道我是否遗漏了什么 为标题中包含“Jazzit”的窗口定义热键CtrlShiftN和CtrlShift6
SetTitleMatchMode 2 ; All #If statements match anywhere in title
#IfWinActive Jazzit
F1:: MsgBox Normal --> Alt + A and Normal - emphasis --> Alt + S
^+n::send !a
^+6::send !s
#IfWinActive
重新映射格式(即不使用send
)沿所有修改键传递:
^+n::!a ; sends Alt+Shift+Ctrl+A
^+6::!s ; sends Alt+Shift+Ctrl+6
我试着移动热键。请参阅代码
WinActivate,草稿_Complete Jazzit Help Masterfile*-Dr.Explain(授权给:会计师模板公司)MsgBox Normal-->Alt+A和Normal-emphasis-->Alt+S#Inputlevel 1^+n:!a^+6::!s#输入级别1;将按键更改为普通和普通强调#IfWinActive
似乎仍然不起作用。感谢您的回答,但仍然不走运。我不知所措。也许软件正在阻止更改?没关系,我会回到手动模式。非常感谢!尝试sendraw、sendinput、sendPlay或sendevent,而不是send