Computer Pranks, Tricks,Tips

Collection of the excellent Computer Pranks,Computer Tricks and articles.

Friday, March 23, 2012

Scheduled Sound Play: The Boogieman Prank..!!

>>Here I'm posting amazing PC Prank that you can play with your friend's Lapi or Computer....
>>Generally, WAV files are played with Windows Media Player. I'm writing a VBS-file (Visual Basic) in this post that will run audio files that you can't see.

>>Open up Notepad and copy the following code:
***********************************************************************************
strSoundFile = "C:\WINDOWS\Media\[YOURSOUNDFILE].wav"
Set objShell = CreateObject("Wscript.Shell")
strCommand = "sndrec32 /play /close" & chr(34) & strSoundFile & chr(34)
objShell.Run strCommand, 0, False

***********************************************************************************

>>Change the [YOURSOUNDFILE] to the sound file you want to play. Now save the file to your harddisk, like this:
C:/Sound.vbs.

>>Double-click the VBS file to try if it works.
>>If  you want to play these files automaticly. You can do this by creating tasks.

=>For Windows-XP :-
Go to Start > All programs > Accessories > System Tools > Scheduled Tasks.
A new window will appear. Double click on "Add scheduled task" and follow the instructions.

=>For Windows 7
Go to Start>Control Panel>Scheduled Task>Import Task


Select your VBS file when the wizard asks if you want to open a software application. You want your friend's PC or your school/college's PC beep at 10.00AM??

                                                           >>N'joy Friends..!!


1 comment:

Anonymous said...

OMG,its working..
Nice :)