Skip to content

Instantly share code, notes, and snippets.

@QuantumNovice
Created February 12, 2023 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save QuantumNovice/0b3978451d95e4476c7e18f141dab6fc to your computer and use it in GitHub Desktop.
Save QuantumNovice/0b3978451d95e4476c7e18f141dab6fc to your computer and use it in GitHub Desktop.
Autohotkey script to toggle notification area icons in windows (tested with windows 10)
#Requires AutoHotkey v2.0-a
Run A_ComSpec ' /c "%windir%\explorer.exe shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}"'
Sleep 2000
if WinExist("Notification Area Icons")
WinActivate ; Use the window found by WinExist.
ControlClick "Button3", "Notification Area Icons"
WinClose "Notification Area Icons"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment