Code: Select all
XButton1::
SetTimer,Label,30
Return
XButton1 up::
SetTimer,Label,off
Return
比如这个按键怎么设置可选
Moderators: tmplinshi, arcticir
Code: Select all
XButton1::
SetTimer,Label,30
Return
XButton1 up::
SetTimer,Label,off
Return
Code: Select all
; 当按下按键,然后松开,才执行后面的代码
#Requires AutoHotkey v2.0
KeyWait "LButton", "D" ; 等待鼠标左键按下
KeyWait "LButton" ; 等待鼠标左键被释放
; 下面是后续的工作