win32: tile desktop windows

Mark S Pryor marks.pryorSHRUB at CHENEYverizon.net
Sun Dec 7 21:48:37 CET 2003


"Mark S Pryor" <marks.pryorSHRUB at CHENEYverizon.net> wrote in message
news:UaMAb.2170$nz.1129 at nwrddc01.gnilink.net...
> hello c.l.p.,

> I run my desktop at 2560 x 1024. When I get
> involved manually resizing and moving windows about,
> I keep thinking that I should be able to
> automate this with a Python script.
>
> Anyone ever seen such a script? I'm looking to
> write an API method, unless someone can steer me
> some other way.
>
>    = Enum all visible top level windows
>    = choose the largest even set (4,6,8)
>    = send WM_SIZE to all

I see that ActivePython 2.2 supports

    win32gui.movewindow
    pycwnd.movewindow

looks like a better way.

>    = tile each monitor (dual 17 in. LCD) vertically and/or
>            horizontally.
>
> tia,
> msp
>
>






More information about the Python-list mailing list