Bring to front all windows for a certain application in Windows 7

21

9

Trying to find some key+click combination to bring all windows for a given application to the top of z-order. For example, I have several Putty terminal windows open in the stacked taskbar icon and I want to display all of them, not just the last used. The only work-around I have found so far is to shift+right-click and "minimize all windows" followed by "restore all windows". Any simpler way to do this?

MMOFan

Posted 2010-02-25T01:54:23.567

Reputation: 211

Answers

19

A better option than the Windows key is to hold down Control and click once for each window on the taskbar icon.

gismo21

Posted 2010-02-25T01:54:23.567

Reputation: 191

This works. If you click "extra" times, it will simply cycle again through the windows in the front. – Juha Untinen – 2016-08-09T10:39:31.837

14

Hold down Shift, Right click on the taskbar Icon, Select "Restore all windows."

Found here with a bunch of good shortcuts:

http://lifehacker.com/5390086/the-master-list-of-new-windows-7-shortcuts

user132955

Posted 2010-02-25T01:54:23.567

Reputation: 141

Note that this only works if windows for that program are grouped (combined) on the taskbar. I have mine set to combine when full, which had me scratching my head for a while (I was getting the single window restore, not restore all windows). – Bob – 2012-05-08T13:51:31.657

This is not what was asked: the windows don't need restoring; they need to be brought to the front. Unfortunately there's no such option in the (default) right-click menu – Carl Witthoft – 2013-01-28T15:23:39.263

10

As suggested by Wil, AutoHotkey can do it.

Here is a script that will put on top all PuTTY windows. It is activated when pressing the Win+p hotkey:

#p::
WinGet, id, list, ahk_class PuTTY
Loop, %id%
{
    this_id := id%A_Index%
    WinActivate, ahk_id %this_id%
}
return

Snark

Posted 2010-02-25T01:54:23.567

Reputation: 30 147

@Snark, nice - thanks. I've modified your script to work with any app, in another answer. – Ross – 2018-10-10T08:39:41.177

2Thanks Snark. Ideally someone (VistaSwitcher author, this means you!) would write a more general-purpose tool that would let you alt-tab through the applications instead of the windows (at least with an additional key combo), and bring all of the windows of the chosen application to the front. – glenviewjeff – 2011-05-10T20:44:11.290

4

Hold ctrl as you click on the grouped icon. Should bring each one up successively.

Mike B

Posted 2010-02-25T01:54:23.567

Reputation: 41

4

Let putty be one of the first 10 programs docked on the taskbar. Let's say putty is #4 from the left. To bring one of the open putty sessions to the front, hit Ctrl-Windows-4. Repeat to bring each session to the front until they are all on top.

I am using a Microsoft keyboard. There is a macro assignment feature in the keyboard software (free download from Microsoft). I've created a macro that does Ctrl-Windows-4-4-4-4-4-4-4-4-4-4 and assigned it to the calculator key on the keyboard. Now I can bring all of the putty sessions to the front with just one key press.

(Hint for using the macro software: right click on a key icon to split it means to keep it pressed down.)

jamesy

Posted 2010-02-25T01:54:23.567

Reputation: 51

3

I do not think that such a thing exists.... Possibly you could write a AHK script, but I am not an expert there.

The only built in function I know of is to do what you have done, or, if the application has a stack, you can bring them all up by pressing Windows Flag+Number (1-0), keep holding Windows Flag and press Tab to cycle through the selection.... But I think this is probably even longer.

William Hilsum

Posted 2010-02-25T01:54:23.567

Reputation: 111 572

2

A little old a topic, but it's topical to me, as I switched to Win7 at work only recently.

I just left-click rapidly on the group icon in the task bar: each single click takes one more of the windows to the front, at some point you start cycling though them...

This continuous fire feels moronic, but maybe this impression is correct.

topicality

Posted 2010-02-25T01:54:23.567

Reputation: 21

2This doesn't work for me win Win7. I only get a pop-up of the window previews. Maybe your idea works only if Aero is disabled? – glenviewjeff – 2011-05-10T20:41:10.437

1

Following on from @Snark's answer, here's a modified version of the Autohotkey script that will bring all windows of the current application to front with Alt+`.

This means you can Alt+Tab to your desired application's window; then, hit Alt+` to bring all the other windows to front.

!`::
WinGetClass, class, A
WinGet, currentWindowId ,, A
WinGet, id, list, ahk_class %class%
Loop, %id%
{
    this_id := id%A_Index%
    WinActivate, ahk_id %this_id%
}
WinActivate, ahk_id %currentWindowId% ;bring the current window back to front
return

Ross

Posted 2010-02-25T01:54:23.567

Reputation: 192

0

Shift+Right click the task grouping - show all windows stacked (or side by side)

NoReply

Posted 2010-02-25T01:54:23.567

Reputation: 11