SwitchDesktopIcons()
{
HWND := ControlGetHwnd("SysListView321", "ahk_class WorkerW")
if (DllCall("IsWindowVisible", "UInt", HWND) == 0){
WinShow("ahk_id" HWND)
} else {
WinHide("ahk_id" HWND)
}
}
Windows11 22H2 可以正常使用