Moving of windows to other desktops (feel free to change hotkeys to ones you prefer without my input)
Other code changes made:
Moving of user configuration to the top. All text editors will open the script at the top, why force our users scroll to the bottom :)
Don't do actions if switching to the desktop we're already in. IMO, it's more robust this way (otherwise we will focus/defocus windows needlessly)
Rearranged switchDesktopByNumber(targetDesktop) and its sibling functions to make them more palatable (previously, the same comment was repeated multiple times. Also made mapDesktopsFromRegistry() relationship to the global variables clearer)
Features added:
Other code changes made:
switchDesktopByNumber(targetDesktop)
and its sibling functions to make them more palatable (previously, the same comment was repeated multiple times. Also mademapDesktopsFromRegistry()
relationship to the global variables clearer)