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

Alan Gauld alan.gauld at btinternet.com
Mon Jun 16 20:09:13 CEST 2008


"Tim Golden" <mail at timgolden.me.uk> wrote

>> 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?
>
> My guess is that you want the "MoveWindow" API from the pywin32
> extensions win32gui module.
>
> http://timgolden.me.uk/pywin32-docs/win32gui__MoveWindow_meth.html

And also see the Microsoft docs at MSDN. Go to:

http://msdn.microsoft.com/en-gb/default.aspx

Just type MoveWindow into the search box.

Alan G





More information about the Tutor mailing list