We have an 'enterprisey' system with a scheduling component which gets floored if any dialogs come up. If any modal dialogs come up in the processes it is running, it gets 'paused' and can't kick off any new processes.

Excuse me a minute ...

*goes outside*
*laughs*
*cries*
*comes back*

.. ahem ... so anyway we need some sort of tool/technique that can lurk in the background and automatically detect specific dialogs and click OK on them. Any recommendations?

The offending system is running in Windows XP.

(NB: changing the third-party-enterprisey system or making its developers sit on the naughty step until they improve it are not options in the short term)

Edit
Report