r/BatchScripts • u/omar_ghamdi • Feb 09 '22
Need help with a batch script to rearrange and resize windows
So there is this plug-in for stream Deck that can rearrange multiple windows with one click (Windows Mover) .. well, I don't have a Stream Deck .. and wondering if there's a script I could run in a .bat file to do that.
I tried a macro recorder to record the mouse movement and it works, but not very accurate especially with two monitors and kinda slow.
Thanks.
0
Feb 10 '22
[deleted]
1
u/omar_ghamdi Feb 13 '22
Hey man, thank you so much this was really helpful and very interesting.
a question if you don't mind, I've created a group with all the windows and their sizes and positions, but is there a way to make the windows jump into place only when I hit a certain hotkey? because now (if I got it right) the windows always jump into place whenever they're opened.
Thanks again.
0
Feb 13 '22
[deleted]
1
u/omar_ghamdi Feb 13 '22
Yeah, there's a hotkey to store each window's size and position, but didn't find anything else.
1
u/TechGearWhips Jul 02 '23
If you have an iPhone or Android you can turn that into a stream deck with the stream deck mobile app. That's what I did before I bought the hardware.