diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b59f7e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +test/ \ No newline at end of file diff --git a/README.md b/README.md index 62e3f51..41ae4aa 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,8 @@ 1. `Shift + Tab`在多个 CATIA 窗口循环切换 1. 双击 `右Ctrl` 键呼出 Everything(Everything需要设置快捷键`win+]`) 5. `ESC` 清除 Power-input 输入框的内容(测试功能) +6. `Win+鼠标滚轮`:切换虚拟桌面(Windows 11) +7. `RAlt+鼠标滚轮`:调节音量,`RAlt+鼠标中键`:静音切换 ## 使用方法 diff --git a/UCLC.ahk b/UCLC.ahk index 54f85e4..587bcdf 100644 --- a/UCLC.ahk +++ b/UCLC.ahk @@ -111,23 +111,48 @@ loop { } } - ; ^+t:: - ; { - ; cat_auto_graph_tree_reorder() - ; } + ; Win + 鼠标滚轮上下 切换虚拟桌面 + LWin & WheelDown:: + { + Send "{Ctrl Down}{LWin Down}{Right}" + } - ^+t:: + LWin & WheelUp:: { - arr := ["aaa", "test_func"] - MsgBox arr[1] - Sleep 2000 + Send "^{Ctrl Down}{LWin Down}{Left}" + } - if arr.Length == 2 - { - %arr[2]%() - } + + ;右ALT+鼠标滚轮上,音量增大 + RAlt & WheelUp:: + { + SoundSetVolume "+2" } + ;右ALT+鼠标滚轮下,音量减小 + RAlt & WheelDown:: + { + SoundSetVolume "-2" + } + + ;右ALT+鼠标中键,静音 + RAlt & MButton:: + { + SoundSetMute -1 + } + + ; ^+t:: + ; { + ; arr := ["aaa", "test_func"] + ; MsgBox arr[1] + ; Sleep 2000 + + ; if arr.Length == 2 + ; { + ; %arr[2]%() + ; } + ; } + } test_func()