Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tools/code to automatically click ok on dialogs

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)

like image 753
codeulike Avatar asked May 03 '11 11:05

codeulike


2 Answers

From this similar question I found:

Buzof by Basta Computing

which did the trick.

There is also a product called DialogDevil which looked promising but didn't work in our situation for some reason.

like image 172
codeulike Avatar answered Oct 24 '22 14:10

codeulike


AutoIT is absolutely perfect for this. You can use the tool to help identify the dialog, write your own simple code and distribute the "auto clicker" via exe. It lurks in the background by running from the task tray.

like image 37
planetjones Avatar answered Oct 24 '22 16:10

planetjones