Yes, I'm sure I want to delete this file. No, I do not want to make MSNBC my home page. We constantly tell our computers--allegedly equipped with perfect memory--the same things over and over. Buzof, a $20 utility from Basta, will handle this tedious task for you.
When a dialog pops up, you can drag an icon from Buzof to the button you want to click. The next time the dialog comes up, Buzof automagically clicks it for you. The program is smart enough to, by default, consider everything in the dialog, not just the title--this makes it harder to accidentally create a rule that will click every single "Do you want to delete this?" or "Do you wish to run 'InstallPhishingTrojan.exe'?" in the affirmative. On the other hand, it makes it harder to make a truly generic rule. The final upside is, you can edit what Buzof looks for in a dialog--once a rule is created, you can change it by hand.
There's not much else to say. If you have a program which has no "Do not ask me this again. Ever." checkbox for its more annoying features and alerts, Buzof can save you a lot of time and frustration. However, often those annoyances are there for a reason, so be careful about casting Buzof's net too wide at first.