Home/Browse/Window Switcher Pro
AHK v2★ FEATURED✓ VERIFIED

Window Switcher Pro

Advanced Alt+Tab replacement with thumbnail previews, fuzzy search, and virtual desktop support for Windows 10/11.

Posted May 28, 202638,420 views18,420 downloads4.8 / 5.0 (312 ratings)
window-managementproductivityalt-tabvirtual-desktop
+2,254
WindowSwitcherPro.ahkAHK v2
1; Window Switcher Pro v2.4 — AHK v2
2; Author: lexmanos | License: MIT
3 
4#Requires AutoHotkey v2.0
5#SingleInstance Force
6 
7; Configuration
8THUMB_WIDTH := 220
9THUMB_HEIGHT := 140
10SEARCH_HOTKEY := "^Space"
11 
12; Main switcher hotkey
13!Tab::
14{
15 windows := GetOpenWindows()
16 if windows.Length = 0
17 return
18 ShowSwitcherGUI(windows)
19}
20 
21GetOpenWindows() {
22 result := []
23 WinGetList(hwndList)
24 for hwnd in hwndList {
25 title := WinGetTitle("ahk_id " hwnd)
26 if title != ""
27 result.Push({hwnd: hwnd, title: title})
28 }
29 return result
30}
31 
32ShowSwitcherGUI(windows) {
33 switcherGui := Gui("+AlwaysOnTop +ToolWindow")
34 switcherGui.BackColor := "0d0d0f"
35 ; ... build thumbnail grid
36 switcherGui.Show()
37}
37 lines · 1.4 KB

Download Trend

last 30 days
+5,495
downloads this period

Spike on May 28 — featured on homepage

Discussion

8 comments
?

Markdown supported · Be respectful · No spam

Z
zerohero992 hr ago

Best window switcher I've used on AHK v2. The fuzzy search is incredibly fast — even with 40+ windows open. One question: is there a way to exclude certain process names from the list?

L
lexmanosOP1 hr ago

Yes! Add the process name to the `EXCLUDE_PROCS` array at the top of the config section. e.g. `EXCLUDE_PROCS := ["TextInputHost.exe", "SearchHost.exe"]`

N
nriley45 min ago

The author is really responsive. This script is actively maintained which is rare.

A
automate_all4 hr ago

Migrated from the v1 version and the performance difference is night and day. Thumbnails render in <50ms now. The virtual desktop support is the killer feature for me.

K
keymaster6 hr ago

Does this work with Windows 10 or only Windows 11? The description says 10/11 but I'm getting a DWM error on my Win10 machine.

L
lexmanosOP5 hr ago

The DWM thumbnail API requires Windows 10 build 1903+. If you're on an older build, set `USE_THUMBNAILS := false` to fall back to icon-only mode.

D
deskpilot8 hr ago

Feature request: could you add a "recent windows" mode that only shows the last 5 used windows? Sometimes I just want quick access without the full overlay.

T
toolsmith1 day ago

I combined this with ClipStack and now my entire workflow is AHK-powered. Productivity has genuinely improved. Thanks for the MIT license.