Coder Social home page Coder Social logo

windows10desktopmanager's Introduction

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.