https://github.com/jpginc/windows10DesktopManager
An autohotkey desktop manager
https://github.com/jpginc/windows10DesktopManager
Last synced: 9 months ago
JSON representation
An autohotkey desktop manager
- Host: GitHub
- URL: https://github.com/jpginc/windows10DesktopManager
- Owner: jpginc
- License: apache-2.0
- Created: 2015-08-20T11:55:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-07-10T14:37:10.000Z (over 4 years ago)
- Last Synced: 2024-10-28T09:51:26.490Z (about 1 year ago)
- Language: AutoHotkey
- Size: 139 KB
- Stars: 166
- Watchers: 14
- Forks: 22
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - jpginc/windows10DesktopManager - An autohotkey desktop manager (AutoHotkey)
README
# Windows 10 Virtual Desktop Manager
An autohotkey desktop manager
----
### Description
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.
### Requirements
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 https://autohotkey.com/. The DLL's that are used to move windows to other desktops come from this project https://github.com/jpginc/MoveToDesktop
### Setup
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 https://autohotkey.com/docs/Hotkeys.htm 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 (https://autohotkey.com/docs/Hotkeys.htm#Features)
- 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 (https://autohotkey.com/docs/objects/Func.htm).
- 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**)