Hi ... here I am to revive this awesome thread ...
... thank you so much for the script on how to show the volume mixer; it is working well for me.
How would I go about changing the script so that when I used the hotkey again, it would then *hide* the volume mixer?
I use a similar script to show/hide desktop icons and it is mapped to WIN-F9 ... if I hit WIN-F9 then the icons will be hidden and if I hit WIN-F9 again, they will then re appear.
Could I do something similar with the show volume mixer script?
Here is the code that I use to show/hide desktop icons (Win 11):
Code: Select all
F10::
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
Thanks for any tips...
[Mod edit: Changed quote tags to code tags]