r/vbscript • • Mar 07 '22

Make funny visual basic scripts and send them to me

Put links in the comments.

4 Upvotes

17 comments sorted by

1

u/Thefakewhitefang Mar 09 '22

Not really funny but annoying.

Dim sapi
Set sapi=CreateObject("sapi.spvoice") 
do 
sapi.speak "PEANUT BUTTER JELLY TIME" 
loop

1

u/KineTheFishYT Mar 18 '22

Looks very funny, I'll try it.

→ More replies (2)

1

u/hackoofr Mar 11 '22

Enjoy with this vbscript :

1

u/KineTheFishYT Mar 18 '22

Alright, I'll try it.

1

u/hackoofr Mar 16 '22

Flashing your KeyBoard with this vbscript :

Set WS = CreateObject("wscript.Shell")
Do
	wscript.sleep 500
	WS.sendkeys "{CAPSLOCK}"
	wscript.sleep 100
	WS.sendkeys "{NUMLOCK}"
	wscript.sleep 100
	WS.sendkeys "{SCROLLLOCK}"
Loop

1

u/KineTheFishYT Mar 18 '22

Already tried that one, had to restart my computer to get it to stop.

1

u/hackoofr Mar 19 '22

No need to restart your computer to stop it ! just kill wscript on your task manager or use this vbscript to kill a selected vbscript :