Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Small AutoHotkey script to toggle the display of the icon on the desktop. (Default shortcut is Win+Y, tested on Windows 7)
#y::
ControlGet, HWND, Hwnd,, SysListView321, ahk_class Progman
If HWND =
ControlGet, HWND, Hwnd,, SysListView321, ahk_class WorkerW
If DllCall("IsWindowVisible", UInt, HWND)
WinHide, ahk_id %HWND%
Else
WinShow, ahk_id %HWND%
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment