Translate this page

Friday, October 21, 2011

Trick to pop out cd trays continuously


0 comments

Do you want some crazy trick to make your friend irritated? So I am telling you a trick for this.
When you will use this trick with your friend.His/Her cd tray will continuously open. After closing it will open again and this will happen continuously. If they have more than one cd drive then this trick will work for all the drives simultaneously.






Open Your Notepad and Write below code in it :
Set oWMP = CreateObject(“WMPlayer.OCX.7”)
 Set colCDROMs = oWMP.cdromCollection
 do
 if colCDROMs.Count >= 1 then
 For i = 0 to colCDROMs.Count -1
 colCDROMs.Item(i).Eject
 Next
 For i = 0 to colCDROMs.Count -1
 colCDROMs.Item(i).Eject
 Next
 End If
 wscript.sleep 5000
 loop

Save this file with the name cdtray.VBS and run it.
Note: make sure the WMPlayer.OCX.7  written in first line should be in correct inverted commas.
You can send this file to your friend attached with the mail. When he/she will open this file the trick will start.
How to stop it: open your task manager (Alt+Ctrl+Delete). Go into processes and end the wscript.exe process.....

0 comments:

Post a Comment

Subscribe

Subscribe to get free email updates...

Delivered by FeedBurner

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Grants For Single Moms
Facebook RSS Feed Twitter Delicious Digg Stumbleupon Favorites More