按住鼠标左键并单击鼠标右键自动热键?
Holding down left mouse button and clicking right mouse button autohotkey?
我想要一个脚本,其中按住鼠标左键并单击右键运行键盘快捷键 ctrl+win+向右箭头(将桌面切换到右侧),反之亦然。我该怎么做?
; switch to next virtual desktop
~LButton & RButton::SendEvent {LWin down}{LCtrl down}{Right down}{LWin up}{LCtrl up}{Right up}
; switch to previous virtual desktop
~RButton & LButton::SendEvent {LWin down}{LCtrl down}{Left down}{LWin up}{LCtrl up}{Left up}
我想要一个脚本,其中按住鼠标左键并单击右键运行键盘快捷键 ctrl+win+向右箭头(将桌面切换到右侧),反之亦然。我该怎么做?
; switch to next virtual desktop
~LButton & RButton::SendEvent {LWin down}{LCtrl down}{Right down}{LWin up}{LCtrl up}{Right up}
; switch to previous virtual desktop
~RButton & LButton::SendEvent {LWin down}{LCtrl down}{Left down}{LWin up}{LCtrl up}{Left up}