First off, this is not something I coded but rather a product I had created for me. In any case I have no source to edit just a buggy program that I'd like to destroy now. When I run the application it runs fine for a bit and then starts throwing error messages then if you click on no I don't want to debug it will continue as normal and then throw more boxes until it is finished.

What I want to create is a little program that will watch for those boxes and automatically click the no box for me behind the scenes so I can continue working on things.

What can I use to watch for those boxes and then kill them?

Chris