RE: Catching and automating a win32 MessageBox

2007-11-08 Thread Ryan Ginstrom
> On Behalf Of Xavier Homs > Is there any way to hook such a MessageBox a send a default > action (yes) from a Python Script? A pure Python solution is pywinauto: http://www.openqa.org/pywinauto/ Another solution is AutoIt http://www.autoitscript.com/autoit3/ It has a COM server, which you can a

Catching and automating a win32 MessageBox

2007-11-08 Thread Xavier Homs
Hi, I'm using an application that shows a standard (YES/NO) reconnect MessageBox each time if loses conection with its server. It defaults to YES. Is there any way to hook such a MessageBox a send a default action (yes) from a Python Script? All I've been able to do is to get a HWND with win32gu