title: Tools/code to automatically click ok on dialogs
body: <p>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.</p>
  
  <p>Excuse me a minute ...</p>
  
  <p>*goes outside*<br>
  *laughs*<br>
  *cries*<br>
  *comes back*</p>
  
  <p>.. 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?</p>
  
  <p>The offending system is running in Windows XP.</p>
  
  <p>(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)</p>