Catching and automating a win32 MessageBox

X

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 win32gui.FindWindow(none,
"Title Name") pointing to the parent window (the one that uses the
MessageBox() function)


Thanks in advance

Xavi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top