【发布时间】:2015-12-17 13:38:29
【问题描述】:
Windows 10 终于有了多桌面,可以用ctrl+win+right(或者left)切换桌面>) 键。这是一个很好的功能,但你有两个用两只手来切换桌面。 我正在尝试使用 autohotkey 映射这样的键,这样我就可以只用一只手并将另一只手放在鼠标中..
ctrl + mouse wheel up --> ctrl + win + right
ctrl + mouse wheel down --> ctrl + win + left
消息框出现,因此 ctrl + 滚轮正在工作,但它不会切换桌面。
~LControl & WheelUp::
MsgBox, Go to desktop right.
Send, {ctrl up}{lwin ctrl righ}
return
~LControl & WheelDown::
MsgBox, Go to desktop left.
Send, {ctrl up}{lwin ctrl left}
return
知道为什么这不起作用吗?
【问题讨论】:
标签: windows autohotkey