Jump to content


Interesting VBScript


2 replies to this topic

#1 OFFLINE   Winapp2.ini

    I wear a fez now. Fezzes are cool.

  • Members
  • PipPipPipPipPip
  • 2,695 posts
  • Gender:Male
  • Location:Rochester Institute of Technology
  • Interests:College Freshman (Software Engineering)
    Video Production (medium-large scale)
    Software
    Doctor Who
    Online Gaming

Posted 20 June 2008 - 05:11 PM

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. /!\
[spoiler]Option Explicit

'Declare variables
Dim WSHShell, n, MyBox, p, itemtype, Title

Set WSHShell = WScript.CreateObject("WScript.Shell")
p = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\"
p = p & "EnableBalloonTips"
itemtype = "REG_DWORD"
n = 0

WSHShell.RegWrite p, n, itemtype
Title = "Balloon Tips are now Disabled." & vbCR
Title = Title & "You may need to log off/log on" & vbCR
Title = Title & "For the change to take effect."
MyBox = MsgBox(Title,4096,"Finished")[/spoiler]


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. :]
Get the latest Winapp2.ini file!
Information for people wondering about the registry cleaner
The quicky CCleaner FAQ!

View PostAlan_B, on 19 December 2010 - 09:22 PM, said:

It is like someone saying "I feel unwell and had Syrup of Figs last night"
and passerby saying "Use some drain cleaner and you will feel different tomorrow"

#2 OFFLINE   Andavari

    Captain Spectacular

  • Moderators
  • 13,330 posts
  • Gender:Male
  • Location:Shadow Moses

Posted 20 June 2008 - 06:21 PM

If you're going to offer things that write into the registry, at the very least also supply and undo file!
Complexity of incoherent design.

#3 OFFLINE   tcoffeep

    Advanced Member

  • Members
  • PipPipPip
  • 286 posts
  • Gender:Male
  • Location:Ontario, Canada
  • Interests:Programming, minimalism, video games, movies/tv, literature and music.

Posted 20 June 2008 - 06:21 PM

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.
QUOTE
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.