How TO Open CD Tray Only 1 click
1.open a new notepad
2.Paste the code below into it.
Dim oWMP
Dim colCDROMs, i
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
WScript.Sleep(2500)
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
WScript.Sleep(2500)
Next
End If
oWMP.close
Set colCDROMs = Nothing
Set oWMP = Nothing
3.Put "File" "Save As". and save as
.vbs (exactly, with the dot)
4.save it to your desktop, and
enjoy!
No comments:
Post a Comment