2021 / Python 3
Change position and size of other programs windows
(Python 3 and modules keyboard and wx)
- Download and install python 3 (https://www.python.org/)
- Click start and type CMD and hit enter (run cmd)
- Copy and past this in the cmd window: python -m pip install keyboard
- And this: python -m pip install wx
- Double click Window_Contraller.pyw (if everything is correct, then you should see a window now)
- Click the "Set Window" button, now a 5 seconds countdown begins.
- Click on the program window you like to control (you need to have the target window selected when the countdown hit hit zero).
- Confirm that text under "Set Window" button is the same as the titelbar text of the target window.
- Nw you can change the edges of the target window with all the buttons with 1, 10, 100, -1, -10, -100 in the respective direction/edge or you can enter the desired position/size in the text boxes above the respective direction and press enter.
Btton group up and to the left is the position of the window and button group down and to the right is the size of the window.
Te keyboard and wx modules must be installed.