1.

Solve : Arrange Windows when opened?

Answer»

Is there a way to arrange the windows started using a batch file? so instead of opening them all on top of each other in a big heap, have them spread out to cover the screen (or make a square) with no overlaying. If so how would you do that?

I am trying to open Resource Monitor, Task MANAGER, and SpeedFan

Code: [Select]cd C:\Program Files\SpeedFan
start speedfan.exe

resmon
taskmgr

exit
This opens them all on top of each other.Try this. The 8 in the ping command is to wait ~8 seconds until all programs are loaded before tiling.

Code: [Select]::TileSideBySide.cmd by Todd Vargo
@echo off
call :Min >"%temp%.\tmp.vbs"
cscript /nologo "%temp%.\tmp.vbs"
start www.google.com
start notepad.exe
start taskmgr
start resmon
ping -n 8 127.0.0.1
call :Tile >"%temp%.\tmp.vbs"
cscript /nologo "%temp%.\tmp.vbs"
del "%temp%.\tmp.vbs"
goto :eof

:Min
echo CreateObject("shell.application").MinimizeAll
goto :eof

:Tile
echo CreateObject("shell.application").TileVertically
goto :eofthe only problem I'm running into is that it's arranging them off screen, so the BOTTOM half of taskmgr is off the bottom of the screen.It doesn't do that here.

Is it only task manager that this happens with?And speedFan, whichever ONE gets the bottom left corner. I think the problem may be that speedFan doesn't support RESIZING.



Discussion

No Comment Found