flash做ppt的模板下載網(wǎng)站有哪些西安網(wǎng)站開發(fā)制作公司
鼠標側鍵映射虛擬桌面切換 —— Win11
基于 AutoHotkey 實現(xiàn)功能
- 下載軟件 AutoHotkey
- 建議安裝在默認路徑下(C盤)
- 此軟件非常小,幾乎不占用資源
- 軟件安裝在默認路徑以外的位置可能導致部分功能不可用
- 新建一個 .ahk 文件
- 使用記事本打開該 .ahk 文件,并寫入以下內容:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.; 定義兩個鼠標側鍵
XButton1::Send {LWin down}{LCtrl down}{Right down}{LWin up}{LCtrl up}{Right up}
XButton2::Send {LWin down}{LCtrl down}{Left down}{LWin up}{LCtrl up}{Left up}
- 此時保存文件,雙擊使用 AutoHotkey 運行后,鼠標側鍵即可實現(xiàn) Win11 虛擬桌面切換
設置腳本開機自啟
-
設置 .ahk 文件默認打開方式:
右鍵 .ahk 文件 -> 打開方式 -> 選擇其它應用 -> AutoHotkey Dash -> 始終
-
設置該腳本文件開機自動運行:
將該 .ahk 文件復制到如下路徑(需要管理員權限)
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\XXX.ahk
-
此時重啟電腦,可以看到文件開機后會被自動運行