检测 Alt+LeftMouse 单击并在 Autohotkey 中发送延迟双击
Detect Alt+LeftMouse click and send delayed double-click in Autohotkey
我想检测 Autohotkey 中的组合键(Alt + LeftMouse click)。检测到后,Autohotkey 将模拟双击动作,两次点击之间有延迟。
这是我的自动热键代码。这是行不通的。有什么问题吗?
#IfWinActive Outlook
!LButton:: ;Alt-LeftMouseClick
{
SendInput {Left}
Sleep, 200
SendInput {Left}
return
}
return
#IfWinActive Outlook
!LButton:: ;Alt-LeftMouseClick
; Click ; uncommend this line if you want to click a second time after Alt+LeftMouseClick
Sleep, 200
Click
return
#IfWinActive ; turn off context sensitivity
我想检测 Autohotkey 中的组合键(Alt + LeftMouse click)。检测到后,Autohotkey 将模拟双击动作,两次点击之间有延迟。
这是我的自动热键代码。这是行不通的。有什么问题吗?
#IfWinActive Outlook
!LButton:: ;Alt-LeftMouseClick
{
SendInput {Left}
Sleep, 200
SendInput {Left}
return
}
return
#IfWinActive Outlook
!LButton:: ;Alt-LeftMouseClick
; Click ; uncommend this line if you want to click a second time after Alt+LeftMouseClick
Sleep, 200
Click
return
#IfWinActive ; turn off context sensitivity