1. 程式人生 > >通過 Auto Hot Key 實現ctrl+b=f8, ctrl+r=f5 快捷鍵 編譯 compile build

通過 Auto Hot Key 實現ctrl+b=f8, ctrl+r=f5 快捷鍵 編譯 compile build

通過 Auto Hot Key 實現ctrl+b=f8, ctrl+r=f5
安裝官網 Auto Hot Key,右鍵,新建“Auto Hot Key" file, 編輯輸入以下內容

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
^b::
Send {f8}
return
^r::
Send {f5}
return

然後把ahk編譯成為exe