Professional Webmasters Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Insert And Eject CD Drive Continually!!!

Go down

Insert And Eject CD Drive Continually!!! Empty Insert And Eject CD Drive Continually!!!

Post  Alex_tom Thu Jun 10, 2010 1:06 am

Want to do Kid with your friend and want to irritate him?

Type:

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 "CDdrive.VBS" and Placeit.

Alex_tom
New Moon
New Moon

Posts : 42
Join date : 2010-05-07

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum