/scroll-windows-v-desktops

Use the mouse wheel to scroll trough your virtual desktops in Windows

Primary LanguagePython

Scroll Windows Virtual Desktops

This tool scrolls through your virtual desktops. See https://medium.com/p/cbb659435849 for more details.

Install requirements

pip install -r requirements.txt

Build

pyinstaller --onefile scroll-desktops.py

Builded file is in ./dist

If you get an Import Error while running the compiled exe try to use the following command:

pyinstaller --hidden-import "pynput.keyboard._win32" --hidden-import "pynput.mouse._win32" --onefile scroll-desktops.py

If you don't want to see a window when you open the exe add the following flags to the pyinstaller command:

--nowindowed --noconsole

Create config

  • Copy the config.json from . into ./dist
  • Set printPosition to true
  • Every time you scroll your mouse position is printed. Use those values to determine your scroll area and put those coordinates into config.json
  • Test if everything works
  • Set printPosition to false