Closing programs with middle-click in windows 7/10

16

6

Is this possible? I want to close programs in the taskbar with middle-click, like tabs in firefox. The best approach I have so far is waiting for the mini-view that pops up when you point with the mouse in the taskbar and then middle-clicking there, but I would like to close them directly.

JoePerkins

Posted 2009-08-18T10:20:13.443

Reputation: 235

They never confirmed that it worked. – Synetech – 2012-02-16T03:18:57.770

Done, I haven't tried it until now :) – JoePerkins – 2012-05-06T15:42:03.940

Answers

16

7 Taskbar Tweaker (source-code) allows closing windows by middle-clicking the taskbar, as well as some other stuff like "ungrouping" taskbar items.

Now I don't miss the pre-Windows 7 feature where I could CTRL-click multiple windows from the taskbar and close them all at once. Middle clicking is actually faster and I very rarely want to start a new instance by middle-clicking or use those jump lists (I got the standard menu back^^).


update: The 7 Taskbar Tweaker site doesn't play nice with some foreign IP addresses (returns 403:Forbidden). Download 7 Taskbar Tweaker v3.3.2 from a mirror.

Leftium

Posted 2009-08-18T10:20:13.443

Reputation: 8 163

The site is down. Well... If you trust me, you could get it from me: http://dl.dropbox.com/u/42655/eternity/7TaskbarTweaker_shared_for_superuser.exe

– Tarnay Kálmán – 2010-06-10T19:12:12.867

@NamGVU: Only 2 out of 55 antivirus engines flagged the file, and I've never heard of either of those 2 engines. On the other hand, Symantec, AVG, and other famous engines all thought that the file was fine. Maybe both the flags were false positives. Maybe not. I'm no expert in this field. Please post a new question on Security.SE, ask them for their thoughts, and provide me with a link to that question. I'm curious to see what the experts think.

– unforgettableidSupportsMonica – 2016-09-19T18:12:00.353

A single threat is not accepted. Thanks anyway. – Nam G VU – 2016-09-20T03:49:12.017

That works pretty well I guess, thanks. It has also some very interesting options, such as the taskbar double/middle-click actions; too bad it doesn't allows to launch a particular program or document that way... – JoePerkins – 2012-05-06T15:40:54.300

the "7+ taskbar tweaker" works great even on windows 8 : http://rammichael.com/7-taskbar-tweaker . thank you for your suggestion.

– android developer – 2013-04-01T08:12:22.233

Holy cow thank you so much for this link. I've been looking for a way to get the standard right click menu back without having to hold shift ever since windows 7 came out! – Fopedush – 2009-12-11T17:07:05.570

I've just scanned it on virustotal.com and resulted with TWO detections!? What the... https://www.virustotal.com/en/file/006ac603f52b67857bd0c655eb7cb4eaf4920146c06b663e062379b560085a27/analysis/

– Nam G VU – 2014-02-20T08:38:25.657

2

Not the same, but a similar native win 7 behavior you might not be aware of: Middle clicking on the preview image that shows when you hover over a taskbar item will close the window. I'm working on getting used to this, rather than adding a third party tweak program.

loki

Posted 2009-08-18T10:20:13.443

Reputation:

1

You could also do that with a AutoHotkey script.

The following one could be the right thing for you: http://www.autohotkey.com/forum/topic8434.html

släcker

Posted 2009-08-18T10:20:13.443

Reputation: 546

No windows-registry tweak? That would be better, middle-click has an utility after all, but not very useful: opening another instance of the selected utility. – JoePerkins – 2009-08-18T16:47:27.010

1Unfortunately that script doesn't work on Vista/Windows 7. – Tarnay Kálmán – 2009-10-12T02:12:11.787

1

Shift+Right clicking on the taskbar button will bring up a menu with Restore, Minimize, Close, etc (or Restore all, Minimize all, Close all if it's a grouped button).

Lucas

Posted 2009-08-18T10:20:13.443

Reputation: 280

1

What type of mouse do you have and are you running the bare minimum mouse drivers? I currently have a one of the new "blue" mice from Microsoft, and installed the drivers that came along with it. The extended drivers will let you change the action of all the buttons on the mouse globally or program specific. I'm pretty sure that Logitech drivers allow the same thing too. One of the available options to change for the middle button is Exit Program.

Chuck

Posted 2009-08-18T10:20:13.443

Reputation: 491

That's interesting, I actually have a Logitech mouse and I use Set Point to change button behaviour, but this solution may cause problems if you configure globally the middle click to close programs, because it may have another functionality in some specific programs. For example, middle-clicking links in Firefox should open it in a new tab, and not closing the window. – JoePerkins – 2011-07-09T01:07:02.430

0

There is no Windows setting or registry hack to do this. Your best bet would be a third-party program, such as AutoHotkey, or continuing doing what you're doing. Alternatively, you could right-click on the icon and click "Close window".

Sasha Chedygov

Posted 2009-08-18T10:20:13.443

Reputation: 6 616

-2

Alternative to virus-containing tool 7 Taskbar Tweaker, I suggest Taskix which contains NO virus.

ps.

Windows XP, Windows Server 2003, Windows Vista and Windows Server 2008

NOT for Windows 7 :(

Nam G VU

Posted 2009-08-18T10:20:13.443

Reputation: 10 255