New
#20
I have noticed that if WMP is running while this vbs is run it will be killed, even if you use the "no sound" version. However, I have managed to fix this by changing the code in "Toggle_Show_Hidden_Files_On_Off.vbs" to:(pretty much just cutting out command2)Code:Hidden = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden" SSHidden = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden" Set Command1 = WScript.CreateObject("WScript.Shell") Check = Command1.RegRead(Hidden) If Check = 2 Then Command1.RegWrite Hidden, 1, "REG_DWORD" Command1.RegWrite SSHidden, 1, "REG_DWORD" Else Command1.RegWrite Hidden, 2, "REG_DWORD" Command1.RegWrite SSHidden, 0, "REG_DWORD" End If Command1.SendKeys "{F5}"
... hopefully this will cause fewer people to be interrupted while listening to Mr. Scruff (or other music). Also, please reply if you see something wrong with this modification, this is my first time editing vb code.
Edit: Never mind, I must have been using the "with sound" version, or a old version.
Last edited by slang800; 25 May 2011 at 18:16.
Hello Slang, and welcome to Seven Forums.
Thank you, but this is the same as the download in step 2 of OPTION ONE though. I provided two separate downloads for one with sound and one without sound. :)
If you see a console opening an closing every time you show or hide, try to change "cmd.exe" to "WScript" to run the vbs script.
Hello Ibaca, and welcome to Seven Forums.
Thank you. Downloads have been updated for this. :)
Honestly this is the best tutorial/hack/tweak/option whatever you want to call it, in the world. I have been searching for this option for years and I can't thank you enough for making it. ^^)
Wow what a great little tweak.. love it! thanks