hi, I'm wondering if something exists something that'l allow me to configure a "SHOW 'previous' (most recent) application window" for the focused application, in Windows 7. I figured someone's probably already done this, and I have no clue, so why not ask the web!
I want LIKE an alt+tab, but for the focused app, so I can cycle my Chrome/Explorer/Notepad/Wordpad... application windows...
I know there's some cool winkey+(taskbar#) shortcuts, but I'd like one that knows about the focussed app, and it's children
I don't mind if it goes via the appgroup (as oppose to flicking straight to next app.window in group)
Stopping there before I start dreaming of cycling grouped_kinds
Any ideas? thanks
Windows: go to next (application) window, like alt+tab
-
- Posts: 8
- Joined: 18 Jan 2016, 13:26
Re: Windows: go to next (application) window, like alt+tab
To change between two windows of the same class if this class is active, you can use this:
For more than two windows this:
See also
and
Code: Select all
F1::
WinGetClass, active_class, A
WinGet, id, list, ahk_class %active_class%
Loop, %id%
{
this_ID := id%A_Index%
IfWinActive, ahk_id %this_ID%
continue
WinActivate, ahk_id %this_ID%,
break
}
return
Code: Select all
F2::
Menu, Windows, Add
Menu, Windows, deleteAll
WinGetClass, active_class, A
WinGet, id, list, ahk_class %active_class%
Loop, %id%
{
this_ID := id%A_Index%
WinGetTitle, Title, ahk_id %this_ID%
Menu, Windows, Add, %Title%, ActivateWindow
WinGet, Path, ProcessPath, ahk_id %this_ID%
Menu, Windows, Icon, %Title%, %Path%,, 0
}
Menu, Windows, Show
return
ActivateWindow:
WinActivate, %A_ThisMenuItem%
return
Code: Select all
GroupAdd
Code: Select all
GroupActivate
Who is online
Users browsing this forum: Google [Bot] and 315 guests