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:
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}" (pretty much just cutting out command2)
... 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.