by jpginc

An autohotkey desktop manager

134 Stars 23 Forks Last release: Not found Apache License 2.0 96 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Windows 10 Virtual Desktop Manager

An autohotkey desktop manager


If you have moved to Windows 10 already then you have to make use of the new Virtual desktop environment! Unfortunately Windows is lacking a few keyboard shortcuts such as jumping to a specific desktop and moving programs to another desktop. This script is designed to fill that hole by providing an easy way customisable hotkeys for all your virtual desktop managing needs.


The script requires both a 32 and 64 bit version of the Autohotkey executable to reliably send windows to other desktops. Download the latest installer from the official Autohotkey website The DLL's that are used to move windows to other desktops come from this project


Clone this Repo and run windows10.ahk. Inside windows10.ahk is a default setup that you can use or edit. The JPGIncDesktopManagerClass has the following functions to setup hotkeys. Each of the following functions take a string representing a hotkey (see for more information about hotkeys).

  • setGoToNextDesktop(hotkey)
  • setGoToPreviousDesktop(hotkey)
  • setMoveWindowToNextDesktop(hotkey)
  • setMoveWindowToPreviousDesktop(hotkey)
  • setCloseDesktop(hotkey)
  • setNewDesktop(hotkey)

The following functions take a hotkey that will be combined with numbers 0 - 9 for quickly switching to a virtual desktop. As such the hotkey cannot be a custom hotkey ( - setGoToDesktop(hotkey) - setMoveWindowToDesktop(hotkey)

These two functions accept either a function name, a label name, a class name with a "call" function on the class. It can also be a func object ( - afterGoToDesktop(name) - afterMoveWindowToDesktop(name)

You can also set the window manager to switch to the desktop after moving a window to it. By default you won't follow moving a window to another desktop. - followToDesktopAfterMovingWindow(bool default is false)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.