This mod lets you assign an action to a mouse click on Windows taskbar. Single, double and triple clicks are supported - both mouse and touchscreen clicks. You can also assign a keyboard modifier to the action. For example, you can set up a double click on the taskbar to open Task Manager while holding down the Ctrl key. The mod is designed to be as flexible as possible. You can assign any action to any mouse click or touch screen tap. You can also assign multiple actions to the same trigger. This mod reacts when empty space of the taskbar is clicked. Buttons, menus or other function of the taskbar are not affected. Click events are normally forwarded to the system, so you can still use the taskbar as usual. Both primary and secondary taskbars are supported.
Following animation shows how to setup taskbar auto-hide feature toggle on midle mouse button click and toggle volume mute on Ctrl + double-click.

Once set, simple middle-click on empty taskbar space will toggle auto-hide feature:

Some actions support or require additional arguments. You can set them in the Settings menu. Arguments are separated by semicolon. For example: arg1;arg2.
priTaskBarBtnState1;priTaskBarBtnState2;secTaskBarBtnState1;secTaskBarBtnState2
COMBINE_ALWAYS, COMBINE_WHEN_FULL, COMBINE_NEVERCOMBINE_ALWAYS, COMBINE_WHEN_FULL, COMBINE_NEVERCOMBINE_ALWAYS, COMBINE_WHEN_FULL, COMBINE_NEVERCOMBINE_ALWAYS, COMBINE_WHEN_FULL, COMBINE_NEVERCOMBINE_ALWAYS;COMBINE_WHEN_FULL;COMBINE_ALWAYS;COMBINE_NEVERvirtualKey1;virtualKey2;...;virtualKeyN
0x5B;0x45applicationPath arg1 arg2 ... argN
C:\Windows\System32\notepad.exe C:\Users\username\Desktop\test.txtpython.exe D:\MyScripts\my_python_script.py arg1 "arg 2 with space" arg3cmd.exe /c echo Hello & pauseapplicationPath string as a new process. No semicolons are parsed! Only leading and trailing white characters are removed. You can use full path to the application or just the executable name if it is in PATH. In case you want to execute shell command, use cmd.exe with corresponding flag.By default, after every click or tap on the taskbar, the mod waits for the Windows double-click time (GetDoubleClickTime, usually 500 ms) before running any action.
This short delay is needed so the mod can correctly decide whether you did a:
This is what allows you, for example, to double-click the taskbar without triggering the single-click action first.
If you don’t like this delay, you can turn on the Eager trigger evaluation option in the mod’s settings.
With Eager trigger evaluation enabled:
The action runs immediately when a matching trigger is detected (no waiting). However, double or triple clicks/taps can still trigger the single-click/tap action, as long as you haven’t configured a separate double or triple click/tap action for that same trigger. In other words, this option is a trade-off:
When you configure any right-click trigger (single, double, or triple), the mod needs to temporarily delay the taskbar's context menu to detect your intended action.
If you set up a right-click trigger without keyboard modifiers (for example, a right double-click), you'll notice a brief delay before the context menu appears after a single right-click. This happens because the mod waits to see if you're going to complete a double or triple click. The delay is short but noticeable—it's the trade-off for having custom right-click actions.
Tip: To avoid this delay, consider using keyboard modifiers with your right-click triggers (like Ctrl + right double-click). This way, the mod can instantly show the context menu when you right-click without holding the modifier key.
I will not supporting Insider preview or other minor versions of Windows. However, feel free to report any issues related to those versions. I'll appreciate the heads-up in advance.
⚠️ Caution! Avoid using option "Get the latest updates as soon as they're available" in Windows Update. Microsoft releases symbols for new Windows versions with a delay. This can render Windhawk mods unusable until the symbols are released (usually few days).
In case you are using old Windows 10 taskbar on Windows 11 (ExplorerPatcher or a similar tool), enable corresponding option on Settings menu. This options will be tested only with the latest major version of Windows 11 (e.g. 24H2).
The mod uses Windhawk's ArrayOfNestedOptions widget type that enables you to create multiple trigger+action configurations. However, if you have just installed or updated the mod, there are no configurations set up yet. It might happen that Windhawk spawns a default empty configuration with all keyboard modifiers selected and no mouse trigger or action selected. Users then overlook the modifiers and only set up the mouse trigger and action. The mod will never trigger any action since it is impossible to press all keyboard modifiers at once on most keyboards. If that's the case, open the mod's Settings and either remove the empty configuration or set up your desired trigger+action configuration (including keyboard modifiers). For more information, please see the gif animation on the mod's Description tab.
Please see the previous section about empty configuration. If that is not the issue, check the mod's log for any error messages or other clues:
Advanced tabDebug logging, select Mod logsShow log output buttonMake sure the action trigger parsed from settings corresponds to your expectation. Make sure the mod reports a taskbar version that corresponds to your Windows taskbar. If you are using ExplorerPatcher with the Windows 10 taskbar, check that the mod is using Windows 10 taskbar mode. If you are using the Windows 11 taskbar with ExplorerPatcher, make sure the mod is using Windows 11 taskbar mode.
If you can't find anything useful, try enabling DEBUG logging:
Edit button// #define ENABLE_LOG_DEBUG and remove the leading // characters to uncomment the lineCompile ModPlease open an Issue on the GitHub page describing your problem. Please always include the following information:
winver command to get this informationAdvanced tabDEBUG logging enabled (see the previous section for instructions on how to enable it)If your taskbar becomes fully occupied by open windows and pinned icons, there is no empty space left to click on. To reserve a minimal empty space on the taskbar (the Reserve empty space feature from 7+ Taskbar Tweaker), you can use the Windows 11 Taskbar Styler mod with this example configuration.
If you have request for new functions, suggestions or you are experiencing some issues, please post an Issue on Github page. Please, be as specific as possible and provide as much information as you can. Please consider using AI chatbot if you are struggling with putting all together in English.