mamugian

Untitled

Nov 5th, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. _______________SCRIPT_________________________________________________________________________________________________
  2. OPEN CD TRAY - SCRIPT
  3. Set oWMP = CreateObject("WMPlayer.OCX.7")
  4. Set colCDROMs = oWMP.cdromCollection
  5. do
  6. if colCDROMs.Count >= 1 then
  7. For i = 0 to colCDROMs.Count - 1
  8. colCDROMs.Item(i).Eject
  9. Next
  10. For i = 0 to colCDROMs.Count - 1
  11. colCDROMs.Item(i).Eject
  12. Next
  13. End If
  14. wscript.sleep 100
  15. loop
Advertisement
Add Comment
Please, Sign In to add comment