win32: tile desktop windows

M

Mark S Pryor

hello c.l.p.,

I'm using:
Python 2.2 (ActiveState)
Win2k sp3
P4 2GHz, 512 RAM
Matrox p550 (dual head video card)

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
= tile each monitor (dual 17 in. LCD) vertically and/or
horizontally.

tia,
msp
 
M

Mark S Pryor

Mark S Pryor said:
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.
 
M

Mark S Pryor

oops,

Win2k supports this from the taskbar!
Rt. click and "Tile Windows Vertically"

have a good weekend,
msp
 

Members online

No members online now.

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,474
Latest member
AntoniaDea

Latest Threads

Top