+1
Double-click Taskbar button to toggle maximize/restore
I often need to very quickly maximize or restore a window (usually in the context of some time-sensitive matter like a game or some such). To facilitate this, I have written an AutoHotkey script to let me use keyboard combinations which does help speed it up, but I always end up wishing that I could simply double-click on the windows’ Taskbar buttons to toggle them between maximized and normal.
Unfortunately, I am having trouble finding a way to identify the window of the Taskbar button that has been clicked (I cannot get its handle), so I have not been able to write an AHK script to do that. Therefore, I figured I would appeal to the Taskbar authority and just request that this function be added to the existing Taskbar tweaker instead of trying to reinvent the wheel.
(In addition to speeding up time-sensitive activities, this would just be more convenient overall, so I am surprised—or perhaps not—that Microsoft never thought of it.)
Unfortunately, I am having trouble finding a way to identify the window of the Taskbar button that has been clicked (I cannot get its handle), so I have not been able to write an AHK script to do that. Therefore, I figured I would appeal to the Taskbar authority and just request that this function be added to the existing Taskbar tweaker instead of trying to reinvent the wheel.
(In addition to speeding up time-sensitive activities, this would just be more convenient overall, so I am surprised—or perhaps not—that Microsoft never thought of it.)
Kundesupport af UserEcho
Here is the list of actions it can bind for a taskbaritem:
- Switch to
- Minimize
- Close
- New
instance
- Jump list
- Standard
menu
- Show thumbnail
preview
- Terminate
process
- Minimize all
group items
- Close all group
items
I am not sure why maximize/restore is not on that list yet, perhaps it is somehow more difficult to do.You might want to try using 7+ Taskbar Tweaking Library :)