Justin Gu
Summon's icon, a ringing service bell engraved in ink on green
01Summon's tray icon, drawn by a script in its repo.
11

Summon

Desktop app

November 2026C++, Win32

The problem
Windows has no public way to move another program’s window to a different virtual desktop.
My part
A tray app in C++ with low-level keyboard and mouse hooks and Explorer’s undocumented virtual desktop interface.
The result
A key brings its app to the desktop I am on, or starts it if it is closed. Pressing it again hides the window.

Summon gives an app a key. Pressing the key brings the app up on the virtual desktop I am on. It moves the window over from another desktop, or starts the app if it is closed. Pressing it again while the app is in front hides the window, taskbar button and all, and the app keeps running.

A key can be anything on the keyboard, or any mouse button other than left and right. Ctrl, Shift, Alt and Win count only when tapped on their own, so shortcuts such as Ctrl+C still work.

Low-level hooks watch for the bound keys. Moving a window between desktops uses Explorer's undocumented IVirtualDesktopManagerInternal interface. Summon moves the window first and brings it forward only once it has arrived, since bringing forward a window on another desktop would switch desktops.

More projects