Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Hotkeys.au3>
- ; 设置热键 Ctrl+Shift+A
- HotKeySet("^+a", "MyHotKey")
- ; 主循环
- While 1
- Sleep(10)
- WEnd
- ; 热键处理函数
- Func MyHotKey()
- MsgBox(0, "HotKey", "You pressed Ctrl+Shift+A!")
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement