PosIt
© Andrii Dovhopolyi, 2021, [email protected]
The script of positionsing windows on the screen.
How does it work?
- Select your window to move/resize.
- Imagine your desktop area divided in to cells:
┌───┬───┬───┬───┬───┐
│ 1 │ 2 │ 3 │ 4 │ 5 │
├───┼───┼───┼───┼───┤
│ q │ w │ e │ r │ t │
├───┼───┼───┼───┼───┤
│ a │ s │ d │ f │ g │
├───┼───┼───┼───┼───┤
│ z │ x │ c │ v │ b │
└───┴───┴───┴───┴───┘
Press key combination for needed cells ratio. Example: Right WIN+CTRL+D activates script with ability to move window on any of 3x3 cells.
- Define the bounding cells by pressing appropriate keys.
- Press Enter to commit or Esc to quit.
External requirements
You need AutoHotkey application to enable hotkeys on Windows OS. run the win_resize.ahk file. This enables you to run resize scrpt with hotkeys: left WIN+CTRL+C
Building with python
modules required
WxPython needed.
pip install -f python_dependencies.txt
Runing
- Change SetWorkingDir in win_resize.ahk.
- Load win_resize.ahk with AutoHotkey
- Press
Right WIN
+CTRL
+one_of[3 4 5 e r t a s d f g z x c v b]