2017-06-30 57 views
0

我正在使用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 keystrokes for normal and normal-emphasis 

#Inputlevel 1 
^+n::!a 
^+6::!s 
#Inputlevel 1 

#IfWinActive 

不知道如果我錯過了什麼。

回答

0

定義熱鍵Ctrl鍵移位ÑCtrl鍵移位 在其標題

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 

重映射格式包含 「Jazzit」 窗口(即,不使用send)傳遞所有修改鍵:

^+n::!a  ; sends Alt+Shift+Ctrl+A 
^+6::!s  ; sends Alt+Shift+Ctrl+6 
+0

我試過移動熱鍵。見代碼'WinActivate,DRAFT_Complete Jazzit幫助主文件* - Dr.Explain(授權給:會計師模板公司) MSGBOX正常 - > Alt + A鍵和普通 - 重 - > Alt + S鍵 #Inputlevel 1 ^ + N ::一個 ^ + 6 ::小號 #Inputlevel 1 ;!更改擊鍵正常和正常加重 #IfWinActive'它似乎仍然沒有工作。 – Nix

+0

我更新了我的答案 –

+0

謝謝你的答案,但仍然沒有運氣。我很茫然。也許軟件阻止了這種變化?沒關係,我會恢復到手動狀態。非常感激! – Nix