我想要一个脚本,其中按住鼠标左键并单击向右可运行键盘快捷键ctrl + win +向右箭头(将桌面切换到右侧),反之亦然。我该怎么办?
答案 0 :(得分:0)
; 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}