Continually Pop Out CD Drive Using Notepad


Don’t you think it would be fun if you could play with your friend by making his cd-drive pop again and again? Just enter the text below into notepad and save it as a .vbsfile. Double click on the .vbs file to see it work.
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

Comments

Popular posts from this blog

SEFILA MEDLEY LYRICS WITH TRANSLATION BY buhle zulu FT.JOYOUS CELEBRATION 24

Download Splendid Cartoons - FEVER STEW mp4

Download Splendid Cartoons - SIDE CHICK 19 (Concluding part of Season One) mp4