Set wshShell =wscript.CreateObject("WScript.Shell")
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do wscript.sleep 100 wshshell.sendkeys "{CAPSLOCK}"
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
loop
Young professional woman and busy mom.
-
-
■ @ 2012-10-08 21:59:44.0 di Non Autenticato
-