GALAXY ACE

HD GAMES,APPS,ROMS AND MANY MORE FOR GALAXY ACE AND OTHERS ANDROID MOBILES

Friday, April 1, 2011

Eject Your CD-DVD Drives Infinitely

This tutorial explains how to make vb script that eject your CD-DVD drives …. infinitely.
1) Run Notepad
2) Copy and Paste VB script code into notepad


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

3) Save as name_what_ever_you_want .vbs , for example ejectCD.vbs





4) Double Click the saved file ! (ejectCD.vbs)
 To stop script open Task Manager and in processes search for wscript.exe and click End Process




0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More