April 24, 2009

Antivir Free – Silence Pop-up Ads with AutoIt

Posted in Uncategorized at 12:36 pm by gloriouscomputing

I’ve recently been using the anti-virus called Antivir. It got good reviews and it’s free. The worst thing about it is, however, that every time it decides to update, it will pop-up a huge ad window. You might be in the middle of something or just turning on your PC: either way, it’s never ok to be disrupted by spam in this way.

So using the power of previously mentioned AutoIt, here’s a script you can use to automatically close these ads:

AutoItSetOption ( “TrayIconHide” , 1)
WinWait(“Notifier of Avira AntiVir Personal – Free Antivirus”)
ControlClick(“Notifier of Avira AntiVir Personal – Free Antivirus”, “”, “Button1”)
Until 1=2

There, much better. If you don’t want to install AutoIt (maybe if you want to use this on your friend’s PC real quick), here’s the script in compiled EXE form.