Windows 10 Keyboard Shortcut to cover & Unhide Desktop Icons

To quickly unhide and conceal desktop icons in Windows 10, you may create your own custom keyboard shortcut. Here are the exact steps to follow.

To keep the desktop squeaky clean, you can not only set a gorgeous wallpaper but also hide all the desktop icons. An important feature about hiding the desktop icons is that it lets you organize the desktop with all the shortcuts you need all the while getting the flexibility to hide them when not needed. It gives you greatest of the all possible worlds. Usually, you are able to hide the desktop icons from the right-click context menu. Specifically, you need to uncheck the “Show desktop icons” option within the View menu.

If you’re frequently hiding and unhiding the desktop icons, using the right-click menu can be a bit cumbersome. To deal with that, you may create a keyboard shortcut to hide desktop icons and show desktop icons.

To get you started, listed here are the exact steps you need to follow to create a keyboard shortcut to exhibit or hide desktop icons.

Steps to produce a Keyboard Shortcut to exhibit or Hide Desktop Icons

We are using an AutoHotKey script to produce a shortcut to hide or unhide desktop icons. Here’re the steps you should follow.

Get the AutoHotKey software from here and install it.
Now, right-click on the desktop and select “New → Text Document”.
Name the brand new file as “HideUnhideIcons.ahk”. You can name the file anything you want. However, it is important that you replace the .txt extension with .ahk.
After renaming the file, right-click around the file and select the “Edit script” option.
The file will be opened within the Notepad. Here, copy and paste the below script.

;Press F12 to cover or unhide desktop icons
F12::
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

Press “Ctrl + S” to save the file.
Close the file.
After closing the file, double-click around the .ahk file you simply created.
The above mentioned action will run the file. You will see the AutoHotKey icon around the taskbar while it is running.

That’s it. As long as the file is running in the background, you are able to hide or unhide desktop while using keyboard shortcut F12. Consider the keyboard shortcut as a toggle to hide or unhide desktop icons.

Leave a Reply

Your email address will not be published. Required fields are marked *