Scheduled Sound Play:

Scheduled Sound Play: The Boogieman Prank..!!


>>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??

No comments:

Post a Comment