Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have several monitors and use the taskbar autohide feature together with fullscreen applications, so I don't know which window currently has focus. Pressing win+{currently focused window number} makes that window minimized and it is really annoying.

There is a similar question already, but it solves this problem for mouse clicking only.

share|improve this question
So, what do you want to happen? Just nothing? – Oliver Salzburg Aug 20 '13 at 11:57
Yes, just nothing. – one_half_3544 Aug 20 '13 at 12:17
Is an AutoHotKey script a valid option? It would catch those key combinations {#1},{#2},{#3}... and then do nothing. Haven't tested it so far but I guess its possible. – nixda Aug 20 '13 at 13:11
Thank you. I'll check if it works and post result here. – one_half_3544 Aug 20 '13 at 13:30
Ok, doing nothing in #1 handler really does nothing (no focusing even if that window does not have focus). So, I'm investigating how to also mimic the original behavior of <kbd>win</kbd>+# via AutoHotKey... – one_half_3544 Aug 20 '13 at 13:43

It is possible to intercept the keystroke using a program like AutoHotkey. Once installed, you can write and run scripts that intercept keyboard input. The simplest kind of script is called a "hotkey". You simply state a keystroke and the desired action.

You could define the Windows+Num keystroke to do nothing, which would prevent it from being sent to Windows to toggle the visibility of the programs at that slot in the taskbar.


You will lose the capability of launching an application in the taskbar with this simple, global interception. But, I'm sure someone can recommend how to write a script that is aware of the window's focus and taskbar slot.

share|improve this answer
Thank you, this solution was already discussed in comments above... – one_half_3544 Aug 27 '13 at 11:57
Oh snap, the comments were collapsed when I answered! If I get around to it, I'll try to actually make a script that behaves with focused windows. – Anthony Mastrean Aug 27 '13 at 13:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .