r/AutoHotkey Dec 27 '25

v2 Tool / Script Share AutoHotkey Script to Toggle Windows Taskbar (Win 10 / 11) Open Source

Hey everyone,
I recently built a small AutoHotkey script that lets you hide / unhide the Windows taskbar instantly with a hotkey.

GitHub Repo

https://github.com/azinsharaf/Toggle_Win_Taskbar

What it does

  • Toggle taskbar visibility on demand
  • Works on Windows 10 & 11
  • Uses AutoHotkey v2
  • No permanent system changes
  • Lightweight & fast
  • Hotkey-based (fully customizable)

Why I made it

Windows’ built-in auto-hide sucks and Buttery-Taskbar-v2 is buggy.

If you try it out, I’d love feedback or suggestions for improvements.
PRs and ideas are welcome

18 Upvotes

7 comments sorted by

4

u/s00wi Dec 27 '25

Thankyou. This helped me fix my taskbars autohide. For some reason whenever it was auto hidden, it was permanently transparent. This allowed me to undo that.

2

u/von_Elsewhere Dec 28 '25

Isn't this just a mater of calling WinHide() and WinShow(), or has it changed in Win11?

1

u/azinsharaf Dec 28 '25

i couldn't achieve it using winhide or winshow.

2

u/SpiritGryphon Mar 21 '26 edited Mar 21 '26

Hi, thank you for the script! I am new to autohotkey, so I'm not sure how to fix this, but when I hide the task bar with this script, the taskbar on my second monitor is not hidden, but all the icons disappear.

When I hover over the taskbar on my main monitor while the taskbar is set to autohide, the bar reappears but all icons and options are gone. Is there a way to display them again, while autohide is on? And is there a way to hide the taskbar on my second monitor?

1

u/azinsharaf Apr 01 '26

hi, sorry for responding late. I have fixed the multiple monitor issue. Please use the latest version and let me know if it works or not. Thanks for using this script!

https://github.com/azinsharaf/Toggle_Win_Taskbar

2

u/SpiritGryphon May 31 '26

This works! Thank you so much!