Windows Virtual Desktop Toolkit
Download here.
Have you ever wished Windows’ virtual desktops were a little more… organized?
I recently found myself annoyed that every time I opened an app — browser here, file explorer there, Discord somewhere else — it just popped up wherever it liked. Multiply that across multiple monitors and it quickly becomes chaos.
So I built a small set of scripts with AutoHotkey to bring a little order to the mess. Or rather, ChatGPT did. I just helped debug it. This was me giving vibe coding a shot.
What It Does
The AutoHotkey Virtual Desktop Kit is a pair of lightweight scripts that together:
Automatically send apps to your preferred desktop
You define rules like:
[
{ "exe": "brave.exe", "desktop": 1 },
{ "exe": "discord.exe", "desktop": 5 },
{ "exe": "code.exe", "desktop": 3 },
{ "exe": "obsidian.exe", "title": "^My Vault", "desktop": 9 }
]
As windows appear, they’re sent to their assigned desktops — no dragging required. It even supports window title regex matching.
Add slick hotkeys for desktop switching and moving windows
The second script adds:
- Win + [1–9] — jump to that virtual desktop
- Win + Shift + [1–9] — move the active window to that desktop
Focus stays intuitive — it remembers the last focused window per desktop so you’re not lost when you switch back.
Why Bother?
Because it’s one of those little things that:
- Saves you time
- Reduces friction
- And makes your desktop feel like your space
You open an app, and it just appears where it belongs. No thinking. No rearranging. No hunting for where your terminal decided to go this time.
Try It Out
Grab the code on GitHub (MIT licensed, simple to install)
Just update the JSON config file with your app preferences, run the scripts, and enjoy a more sane multitasking setup.
You will want to unpin everything from the Windows Taskbar too as it binds the same keys.
A small price to pay for a more organised workflow, hitting the Windows key (or whatever key you assigned your custom launcher too if you use one) and typing the app name is quicker anyway.
Got feedback or ideas?
I’d love to hear how you use it — or what would make it better. PRs, issues, or just shouting into the void are all welcome.
Let’s make Windows a bit less unruly, one window at a time.