Shankar


THIS IS A LITLE FUN WITH DVD ROM "DVD ROM IN & OUT LOOP SCRIPT"

code:

Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
loop
End If


copy this script in notepad and save as run.vbs
u'll see a magic that ur cd-rom is running in and out

IF U WANT TO QUIT THIS IN & OUT OF DVD ROM,
go in task manager/processes find wscript then click on end process thats all
0 Responses