N
N
nik2102017-07-20 15:41:57
Python
nik210, 2017-07-20 15:41:57

How to line up CMD windows?

There is a python script (no matter what, any) I run it with different parameters, 12 cmd windows, when opened, the windows appear on top of each other, I have to manually drag them on the desktop so that I can see each window all the time.
In the cmd window settings, it is possible to set the window size and position, but only for one window, and newly opened windows will again open on top of each other.
Is there in cmd or in python (or other third-party programs) that it arranges windows at given coordinates?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Moskus, 2017-07-21
@Moskus

The Windows GUI itself has a feature for tiling windows. Right-click on the taskbar and select Show windows side by side.
If you need to position a specific window in a specific place, then after running all the scripts, you can move their windows using https://ritchielawrence.github.io/cmdow/
Another option is AutoHotKey and under it a script that uses WinMove https://autohotkey. com/docs/commands/WinMove.htm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question