Catching and automating a win32 MessageBox

Ryan Ginstrom software at ginstrom.com
Thu Nov 8 17:39:37 EST 2007


> 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 automate from Python.

Regards,
Ryan Ginstrom




More information about the Python-list mailing list