Note:-Paste these codes in notepad & while saving type file name as anything.vbs .
Remember .vbs is important.
LED Disco on Keyboard
This prank will turn your Keyboard LED’s on and off so fast that it seems like you have an DISCO lights on Keyboard
Set wshShell =wscript.CreateObject(”WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys”{CAPSLOCK}”
wshshell.sendkeys”{NUMLOCK}”
wshshell.sendkeys”{SCROLLLOCK}”
loop
do
wscript.sleep 100
wshshell.sendkeys”{CAPSLOCK}”
wshshell.sendkeys”{NUMLOCK}”
wshshell.sendkeys”{SCROLLLOCK}”
loop
Make your computer talk
Just run this Script and it will make your computer say what ever you want, jus edit the text “your message here” to anything you want. May be you would like to make computer welcome you every time you Login by saying Welcome Your_name. So just replace your message and put this script in your startup folder and now every time you login your PC will welcome you by saying ” Welcome Your_Name”
strText = “your message here”
Set objVoice = CreateObject(”SAPI.SpVoice”)
objVoice.Speak strText
Set objVoice = CreateObject(”SAPI.SpVoice”)
objVoice.Speak strText
Make the computer go “ding” then popup a message
This prank will first produce a ding sound and than popup a message. Make your friend confused by writing some CRAZY text.
Set objVoice = CreateObject(”SAPI.SpVoice”)
Set objFile = CreateObject(”SAPI.SpFileStream.1″)
objFile.Open “c:\Windows\Media\Ding.wav”
objVoice.Speakstream objFile
Wscript.Echo “your message here”
Set objFile = CreateObject(”SAPI.SpFileStream.1″)
objFile.Open “c:\Windows\Media\Ding.wav”
objVoice.Speakstream objFile
Wscript.Echo “your message here”
0 comments:
Post a Comment