Open robertalanbevan opened 1 year ago
Cool, this is a variant with a selection of those (LButton and Wheel) working for AHK v2:
#HotIf WinActive("ahk_exe switcheroo.exe")
~LButton::
{
SendInput "{LButton Down}"
}
!WheelDown::
{
SendInput "{down}"
}
!WheelUp::
{
SendInput "{up}"
}
#HotIf
我使用 Switcheroo 是因为它的视觉清晰度,而不是它以打字为中心的设计。这个小脚本对此非常有用。
- 单击左键进入光标选择的窗口(通常,它需要双击)。
- 鼠标滚轮滚动在窗口列表中上下循环您的选择。
- 中键单击可关闭突出显示的窗口(通过鼠标滚轮或 Tab 键选择,而不是通过光标选择)。
- 松开 alt 会自动打开所选窗口,就像在普通的 Alt-Tab 键中一样。
{ #IfWinExist ahk_exe switcheroo.exe ~LButton:: SendInput, {LButton Down} return !MButton:: Send ^w return !Alt Up:: SendInput {Enter Up} return !WheelDown:: SendInput {down} return !WheelUp:: SendInput {up} return #IfWinExist }
I don't understand this aspect of the code, and I want a few functions, can you tell me how to operate?
I use Switcheroo for its visual clarity rather than for its typing-focused design. This little script is unbelievably useful to that end.