Windows10上⽤AutoHotkey实现快速隐藏显⽰桌⾯图标与切换虚拟桌⾯
当你想⽤多个桌⾯的时候需要按ctrl+Windows+左右键 觉得很⿇烦怎么办?
下载 AutoHotkey
编辑脚本 添加以下内容
~LControl & WheelUp::
Send {LWin Down}{Ctrl Down}{Left}{Ctrl Up}{LWin Up}
return
~LControl & WheelDown::
Send {LWin Down}{Ctrl Down}{Right}{Ctrl Up}{LWin Up}
return
麦亨利这样左Ctrl+⿏标滚轮即可实现切换桌⾯
告别2022
dtnl教学课件
快速隐藏桌⾯图标
添加
!q::
HideOrShowDesktopIcons()
李易祥主演的电视剧return
HideOrShowDesktopIcons()
{
ControlGet, class, Hwnd,, SysListView321, ahk_class Progman
If class =
ControlGet, class, Hwnd,, SysListView321, ahk_class WorkerW
If DllCall("IsWindowVisible", UInt,class)
WinHide, ahk_id %class%白百合的老公
Else
WinShow, ahk_id %class%
}
alt+q 实现快速隐藏图标
如何创建脚本
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
~LControl & WheelUp::
Send {LWin Down}{Ctrl Down}{Left}{Ctrl Up}{LWin Up}
return
~LControl & WheelDown::
Send {LWin Down}{Ctrl Down}{Right}{Ctrl Up}{LWin Up}
return
!q::
HideOrShowDesktopIcons()
return
HideOrShowDesktopIcons()
{
ControlGet, class, Hwnd,, SysListView321, ahk_class Progman
If class =
ControlGet, class, Hwnd,, SysListView321, ahk_class WorkerW
If DllCall("IsWindowVisible", UInt,class)
WinHide, ahk_id %class%
Else
WinShow, ahk_id %class%
}
添加以上内容 功能可全部实现
关于情人节简短唯美句子将脚本添加到启动中可以开机⾃启.