Slideshow user? Dont like one and want to remove it without the hassle of manually doing it?

Check this script...

I've seen numerous requests for something like this. I wanted it now, so I made it. Running this little script will move your current slideshow background out of your slideshow, to C:\Windows\temp. You dont have to go through the hassle of removing it manually through the control panel.

Copy the text between the dashes, save it in a text file as type "all files" and name it whateveryouwant.vbs

--------------------------------------------------------------------------------

'Force Variable declaraton
Option Explicit

'Declare Variables.
Dim WSHShell, RegKey, BGtoMove, objFSO

'Set WSHell as object
Set WSHShell = CreateObject("WScript.Shell")

'Set regkey as constant
RegKey = "HKCU\Software\Microsoft\Internet Explorer\Desktop\General\"

'Set variable to move
BGtoMove = WSHShell.RegRead(regkey & "WallpaperSource")

'Set objFSO to object
Set objFSO = CreateObject("Scripting.FileSystemObject")

'Test if the current backgournd hasn't been moved already, then move it with object objFSO to \Windows\temp to back it up
If objFSO.FileExists(BGtoMove) Then
objFSO.MoveFile BgtoMove, "C:\Windows\Temp\"

'Dialog displayed when the background exists, and will be moved to temp
wscript.echo "Wallpaper moved out of slideshow, to Windows\Temp"

'quits the script
wscript.quit

'Otherwise
Else

'Dialog display when wallpaper already has been moved to \Windows\temp NOTE: This will only show if you do the operation

'twice in the same slide, as it has been move already and will not be displayed in your slideshow anymore
wscript.echo "Wallpaper already moved out of slideshow"

'Done with If() statement, done with the script
End If

---------------------------------------------------------------------------------

PS: To remove the dialogs that appear, delete the lines with "wscript.echo" at the beginning.

4,996 views 19 replies
Reply #1 Top

Warning to all.

Be wary of any/all scripts as they have the potential to damage a system.

Only use them if you are confident you understand their function, and/or can reverse/correct any changes....;)

Reply #2 Top

How about I compile it in vb, then post it? Jeezus any executable can be just as damaging.

At least with a script you can see the code...

Add it to your desktop context menu.

Reply #3 Top

How about I compile it in vb, then post it? Jeezus any executable can be just as damaging.

At least with a script you can see the code...

Without reminders of potential issues with modifying your OS at 'code' level/method you expose yourself to liability.

Not everyone can read/interpret 'code' in this script [or any other].

And yes, executables can mess with a system but that doesn't absolve anyone from still posting caution/warnings.

Reply #4 Top

I can say with 100% confidence that this script will not mess with your system in any way. It does no modification at all, with the exception of moving a wallpaper out of the current directory you are running your slideshow out of, to C:\Windows\temp.

I come from a usenet group that goes far, far deeper into windows customization. Scripts are hands down, the best way to "use windows, to modify windows."

Reply #5 Top

I come from a usenet group that goes far, far deeper into windows customization.

And I come from a group who bypasses the Windows shell entirely however that experience tells me scripts can and do break computer systems leaving the unwary totally lost.

Cautionary warnings will thus stay.

Reply #6 Top

Quoting Jafo, reply 5

I come from a usenet group that goes far, far deeper into windows customization.
And I come from a group who bypasses the Windows shell entirely however that experience tells me scripts can and do break computer systems leaving the unwary totally lost.

Cautionary warnings will thus stay.

And they should, but moderators should examine scripts themselves before warning. So you dont use the windows shell? WOW, been there done that. Stardock caters to n00bs at beautifying windows, I'm just trying to show what you can do with windows, without bloatware.

Yeah a script can break a system, so can a trojan, virus, exe, whatever... Intentions are what matters; for better or worse. If moderators are too inexperienced ON A WINDOWS CUSTOMIZATION FORUM at examining such simply coded, documented scripts for anything that can break windows... then maybe this forum needs some new moderators.

Reply #7 Top

but moderators should examine scripts themselves before warning.

No, moderators should remove any information and/or scripts which can damage a member's system if lacking a note of caution.

Same applies for delving directly into the registry.

I am happy for you that you are so vastly experienced, however ONLY some here will easily match your wealth of knowledge or surpass it.  It is the task of RESPONSIBLE people offering advice to do so with the understanding that not all will be au fait with coding/scripts or even resource hacking, for that matter.

As for 'bloatware' and 'n00bs at beautifying windows' you're really endearing yourself with this community aren't you.

Reply #8 Top

Stardock caters to n00bs at beautifying windows,

To me, you are the n00b. It's all a matter of perspective ;)

 

I wouldn't recommend anyone using scripts without doing a complete system backup first, even if the script comes from a trusted source.

Reply #9 Top

And, pray tell, what's wrong with the control panel? That seems like an awful lot of scripting just to do something that is easily done thru the control panel.

Reply #10 Top

Quoting Jafo, reply 7

but moderators should examine scripts themselves before warning.
No, moderators should remove any information and/or scripts which can damage a member's system if lacking a note of caution.

Same applies for delving directly into the registry.

I am happy for you that you are so vastly experienced, however ONLY some here will easily match your wealth of knowledge or surpass it.  It is the task of RESPONSIBLE people offering advice to do so with the understanding that not all will be au fait with coding/scripts or even resource hacking, for that matter.

As for 'bloatware' and 'n00bs at beautifying windows' you're really endearing yourself with this community aren't you.

I have no intent on "endearing myself" with this community, considering its association.

This community is apparently stardock related, lol. I mean "windowblinds?" Everyone knows its crap, and it has been since the xp days. Stardock is making money off of people who can do the same thing for free, and not have to install third party windows skinning software.

In other words, my attempts to bring some real windows hacks failed, only get knocked down with a preemptive "warning." Yeah I understand the damage I can do to a system with registry edits, But this script merely READS from it, it does no registry writing whatsoever.

I guess my assumption that this community was a bit more knowledgeable on this matter was wrong. I would never post volatile code online without warning; but this? This is tiny, and there isn't much to it.

Have fun with windowblinds, that buggy "fences" bulls**t that seems to be taking forever, and object desktop. People buying this stuff are being capitalized upon, and even "dumbed down" to some extent, considering most of this can be done better, integrated with windows, and for free with a bit of research and learning. Not to mention the slowdown created by ANY piece of stardock software.

FUZZY: A COMPLETE SYSTEM BACKUP???!!! for such a tiny script!!!? Gimme a break, you call me the n00b? Ha! That statement is a pure representation of a n00b. Id backup my system before I install ANY piece of stardock software, its like installing AOL for christ sake.

Ban me from this shit forum, stardock is a terrible, money-gobbling company.

Suck my dick you capitalist assfucks.

 

 

Reply #12 Top

Ban me from this shit forum, stardock is a terrible, money-gobbling company

Seems you didnt mind this company (or this site) so much to get all the free stuff it offers. 535MB worth.

Reply #13 Top

Ban me from this shit forum, stardock is a terrible, money-gobbling company.

Suck my dick you capitalist assfucks.

With an attitude like that, I'm sure your request will be honored soon.

This is a skinning site, not a hacking site. And I, for one, am offended by your remarks. This is my home, what gives you the right to come here and act like a moron? Your attitude is unacceptable and if it were within my power to honor your request to be banned, I'd gladly do it for you.

 

Reply #14 Top

Respecting others' systems integrity and posting cautionary reminders when proposing they use scripts and/or system modifiers is a simple requirement.

It takes little or no effort on anyone's part.

When it comes to advice or instruction on altering a computer...hardware or software there will always be sources which are trustworthy ond ones which are less so.

 

Reply #15 Top

OK, guys, chill . . .

TimmyP: We are glad you are so pleasant with us. Your scripting and your pains we thank you for.

Reply #16 Top

Ban me from this shit forum, stardock is a terrible, money-gobbling company.

Suggestion approved!

 

Reply #17 Top

Thanks guys! I knew you'd "approve".

Reply #18 Top

It's shame really, TimmyP sounded like he was well versed in the ins and outs of the Windows OS and could have been an  asset to the community. Too bad his attitude only took him halfway there.:thumbsdown:

Reply #19 Top

Oh...."asset"....

I thought.....