http://search.msdn.microsoft.com/search/results.aspx?view=msdn&qu=mo use_event<http://search.msdn.microsoft.com/search/results.aspx?view=msdn&qu=mouse_event> http://search.msdn.microsoft.com/search/results.aspx?view=msdn&qu=ke ybd_event<http://search.msdn.microsoft.com/search/results.aspx?view=msdn&qu=keybd_event> http://search.msdn.microsoft.com/search/results.aspx?view=msdn&qu=Ge tFocus<http://search.msdn.microsoft.com/search/results.aspx?view=msdn&qu=GetFocus>
I am using pywin32, for python 2.5 on windows xp. What I want to do is these: handle = Gethandle ("window_name") "window_name" = "123.txt" with notepad, for example. it should return a list if there are more than one with the same name. and then GainFocus(handle) Keyboard_event ( "hello python!") Mouse_event (x,y, left, 2) the (x,y) = should be relative to the active window and independent of the window's position. 2 as in clicking twice. Last, maximize, minimize, resize, move, kill, above(handle)
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor