Continually pop out your friend's CD Drive
Wednesday, March 07, 2012
Posted by Priya Yadav
Continually pop out your friend's CD Drive. If he / she has more than one, it pops out all of them!
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 it as "Anything.VBS" and send it.
Enjoy.............!!!!!!!!!!!!!!!!!!!!!!!!!
Just Type on your NOTEPAD :
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 it as "Anything.VBS" and send it.
Enjoy.............!!!!!!!!!!!!!!!!!!!!!!!!!
This entry was posted on October 4, 2009 at 12:14 pm, and is filed under
Notepad
. Follow any responses to this post through RSS. You can leave a response, or trackback from your own site.
Subscribe to:
Post Comments (Atom)
Post a Comment