[Tutor] Moving a window... on windows?

W W srilyk at gmail.com
Mon Jun 16 17:44:58 CEST 2008


I'm not even sure if this is possible... and so far a google search of
"python move windows xp" has failed to yield any helpful looking
results.

I'm trying to create a script that will move a program window around
on the desktop, and other than that search I'm not sure where to look.

What we have is a digital signage program that is ridiculously old,
and we're trying to squeeze a bit more life out of it, until we have
more money to spend on a better solution. It runs on a system with two
video cards, because it requires an 640x480 output (regular coax...
the system is ~10 yrs old), but the silly programmers did some things
so the window will spawn in the same place on the wrong monitor.

Currently I move it manually, but I want to automate the movement. If
there's a way to move the program window by a specific X, Y value, I
could make it work no problem. Does anyone have any experience with
this sort of task? Or can someone point me towards a solution?

Thanks in advance,
Wayne

-- 
To be considered stupid and to be told so is more painful than being
called gluttonous, mendacious, violent, lascivious, lazy, cowardly:
every weakness, every vice, has found its defenders, its rhetoric, its
ennoblement and exaltation, but stupidity hasn't. - Primo Levi


More information about the Tutor mailing list