我创建了一个 AutoHotKey 脚本并将其编译为一个 exe。
然后我运行 exe 并运行 Outlook 2010。
当我尝试使用我定义的热键时,我在状态栏中收到一条错误消息,提示“由于选择已锁定,因此不允许进行此修改”。
我做了一些研究,错误接缝与 Trail 结尾联系在一起。但是我在工作计算机上,我没有在进行试用。
有没有办法来解决这个问题?
这是我的 ahk 文件
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SendMode Input ; superior speed and reliability.
SetTitleMatchMode 2 ;allow partial match to window titles
;********************
;Hotkeys for Outlook 2010
;********************
;As best I can tell, the window text ‘NUIDocumentWindow’ is not present
;on any other items except the main window. Also, I look for the phrase
; ‘ …Run Code Online (Sandbox Code Playgroud)