Last active
May 20, 2018 15:03
-
-
Save Phoenix616/bd226a63fb159a1aedc6a9476c9e4bb7 to your computer and use it in GitHub Desktop.
Small AutoHotkey script to toggle the display of the icon on the desktop. (Default shortcut is Win+Y, tested on Windows 7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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