Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

In the docs, they have an example

^Down::WinMinimize, A

So I tried to create the following:

^m::WinMinimize, A
#^!m::WinMaximize, A

But it only works in notepad++ not in explorer or chrome etc. Where do I go wrong?

Please not that I seek to minimize only one (1) window at a time. Using #m minimizes all windows in a certain application.

share|improve this question
You have the same set of keys assigned twice? ^m in lines 1 and 3, the other combination in lines 2 and 4. Do you have any #IfWinActive lines before those lines? You have to deactivate #IfWinActive if these mappings to work globally. Or they have to be before any #IfWinActive lines in the script. – jaychris Sep 6 '13 at 2:00
No, it's not assigned twice, I only wanted to state that I tried both with and without appending ", A". I do not have #IfWinActive. – user1603548 Sep 8 '13 at 20:00

This works fine for me in an empty script...

^m::WinMinimize, A
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.