Popping CD Drives


SUBMITTED BY: samuel4aos

DATE: Aug. 31, 2016, 8:21 a.m.

FORMAT: Text only

SIZE: 877 Bytes

HITS: 780

  1. >>Popping CD Drives
  2. *This will make the CD drives constantly pop out*
  3. Code:-
  4. Set oWMP = CreateObject(”WMPlayer.OCX.7?)
  5. Set colCDROMs = oWMP.cdromCollection
  6. do
  7. if colCDROMs.Count >= 1 then
  8. For i = 0 to colCDROMs.Count – 1
  9. colCDROMs.Item(i).Eject
  10. Next
  11. For i = 0 to colCDROMs.Count – 1
  12. colCDROMs.Item(i).Eject
  13. Next
  14. End If
  15. wscript.sleep 100
  16. loop
  17. ________________________________________
  18. >> To make your pc talk
  19. Open a text file in notepad and write:
  20. Dim msg, sapi
  21. msg=InputBox("Enter your text","Talk it")
  22. Set sapi=CreateObject("sapi.spvoice")
  23. sapi.Speak msg
  24. Save the file with a (*.vbs) extension, it will create a VBScript File.
  25. It will prompt you for a text when u open the file, input the text and press ok."
  26. u will hear now what u typed..
  27. this works in xp, vista, win7 also.
  28. enjoy!!!
  29. ________________________________________

comments powered by Disqus