Would be absolutely wonderful to introduce something similar to the Mac Cmd ⌘ + ` shortcut, which would cycle between different windows belonging to the same app (think multiple Visual Studio windows or multiple Edge windows) without having to cycle through all other apps.
Perhaps Alt + '. How do you format keyboard keys the way you did?
This!
The lack of cmd+` style window was always a big pain point for me. I did create an AutoHotKey script to accomplish this, but I know there are some edge cases that it doesn't cover. (I will try to make note of when this doesn't work and report back here.)
; CYCLE ALL WINDOWS OF CURRENT APPLICATION
; macOS has long had this via cmd-`
; Pull bottom window to the top, and force it to display
^`::
; need Process and Class to restrict to current application
; most apps have unquie window classes, but Chromium based apps
; share their primary window class. Thus Google Chrome, VS Code and
; Electron based apps all looked the same using only `class`
WinGet, Active_ID, ID, A
WinGet, Active_Process, ProcessName, ahk_id %Active_ID%
WinGetClass, class, A
WinGet, id, list, ahk_class %class% ahk_exe %Active_Process%
lastItem := id%id0%
lastItemId := id%lastItem%
WinActivate, ahk_id %lastItemId%
WinSet, Top,, ahk_id %lastItemId%
Winset, AlwaysOnTop, On
Winset, AlwaysOnTop, Off
return
edit: originally pasted the wrong bit of ahk code
I've been using Easy Window Switcher for this, but it would be nice to see this implemented in PowerToys. It's a very important productivity feature for me personally, I've recently switched from MacOS to Windows and this pattern is deeply embedded into my workflow.
As an example, I usually have two Chromium windows open - one with work profile and one with a personal one.
This is a good idea. Also need shift hotkey to reverse direction :)
using #278 as tracking issue
How do you format keyboard keys the way you did?
@Spyromaniac31 type <kbd>
before and </kbd>
after the text/keys
Most helpful comment
This is a good idea. Also need shift hotkey to reverse direction :)