Jump to content

Interesting VBScript


Winapp2.ini

Recommended Posts

I came across this little VBScript that'll disable those annoying popup balloons I so oft get from Windows Defender :o

 

 

/!\ Don't use this unless you understand what you're doing, please. /!\

 


Option Explicit'Declare variablesDim WSHShell, n, MyBox, p, itemtype, TitleSet WSHShell = WScript.CreateObject("WScript.Shell")p = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\"p = p & "EnableBalloonTips"itemtype = "REG_DWORD"n = 0WSHShell.RegWrite p, n, itemtypeTitle = "Balloon Tips are now Disabled." & vbCRTitle = Title & "You may need to log off/log on" & vbCRTitle = Title & "For the change to take effect."MyBox = MsgBox(Title,4096,"Finished")

 

 

 

Really, I used it just because I spend a lot of time playing with software and windows defender oft' pops up no less than 10 times an hour, If you don't like not having balloon tips you can always delete the string this code creates. :]

Link to comment
Share on other sites

So it rewrites a portion of the registry? If people really wanted to use it, wouldn't they just do it using regedit?

 

[edit] : I don't see a point in using a code that one could do themselves by hand, unless, of course, they're in a lazy mood.

 

[edit-edit] : It would actually work better, IMHO, if they did the reg-change by hand, because then they could see what they're changing, and change it back if it fscked it up. just my opinion.

Fantasy is the celebration of what we no longer are: individuals certain of our meaningfulness in a meaningful world. The wish-fulfillment that distinguishes fantasy from other genres is not to be the all-conquering hero, but to live in a meaningful world. The fact that such worlds are enchanted worlds, worlds steeped in magic, simply demonstrates the severity of our contemporary crisis.
Scott R. Bakker, Why Fantasy and Why Now?

RPG Codex - Putting the 'Role' back in RPG.

The Age of Decadence - A game everyone should look forward to.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.