讓你釋放所有鍵盤、搖桿、滑鼠的潛能。
2010/12/03 - 建議挑選下載 Unicode 版本的 AutoHotkey_L
基本符號
; ; comment
; # win key
; ! alt
; ^ ctrl
; + shift
; & 2 keys
; < left
; > right
Easy Boss Key
按 F8 切換 隱藏/顯示 指定的視窗.
GroupAdd, myWindows, ahk_class Vim
GroupAdd, myWindows, ahk_class PieTTY
GroupAdd, myWindows, ahk_class MozillaUIWindowClass
F8::
if toggleHiddenWindows := !toggleHiddenWindows
WinHide, ahk_group myWindows
else
WinShow, ahk_group myWindows
return
hotstrings
除了熱鍵(hotkeys)以外, 還可以使用輸入文字.
;; === 輸入之後 還要按 空白, 逗號 才會執行 ===
::zz::
TrayTip, Hello, with space!! , 3
return
;; === 輸入之後 直接執行 ===
:*:xx::
TrayTip, Hello, World!!, 3
return
Loop with TrayTip and Break
可以中斷, 還有提醒執行次數的 loop
foo := 1000
Loop %foo% {
if GetKeyState("CapsLock", "T") {
SetCapsLockState, off
Break
}
Send, Hello World!!{enter}
TrayTip, CapsLock 2 STOP, %A_Index% / %foo%, 3
}
Command List
http://www.autohotkey.com/docs/commands.htm
AutoHotkey 文件