Menu

Multiple Windows with the same title

Anonymous
2013-05-08
2016-03-01
  • Anonymous

    Anonymous - 2013-05-08

    I often use multiple Putty windows, connected to the same host, which, when created, all have the same title. I would basically like to tile them next to each other as they are started (if horizontal space is exhausted and there is vertical space, then in multiple rows). I miss the behavior of Ubuntu when opening multiple terminals - they are automatically tiled as described.

    Can this be done with WinSize2?

     
  • Gilbert Suarez

    Gilbert Suarez - 2016-03-01

    Bumping this old thread with a solution to those that need it:

    A CodeProject utility titled "Windows Resize and Move" does just one thing, and that's to tile windows side-by-side and the .config file allows for initial position and 'gap' spacing.

    It monitors windows matching Program Titles stored in a plain XML file. Written by Bruno Tabbia.

    Link with source code: http://www.codeproject.com/Tips/1057230/Explorer-Windows-Resize-and-Move

    To test it out, put the following in this quick-and-dirty "test.bat" file and run it to launch 16 Windows Calculators that would fit a 1080p display. The ping delay is to allow Windows to paint the calculator on the screen, especially if Window Desktop Composition with animations are enabled (e.g., Aero).

    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    ping 1.1.1.1 -n 1 -w 250>nul
    Start calc
    exit
    
     

    Last edit: Gilbert Suarez 2016-03-01

Log in to post a comment.