This program will continuously Pop out your CD/DVD Drive infinite times(Until you stop this script). This script won't harm your computer so you can use this trick on your computer.
Image Source: images.google.com |
Tutorial:
- Open Notepad.
Right Click > New > Text Document
- Copy the below code in notepad:Set oWMP = CreateObject("WMPlayer.OCX.7")Set colCDROMs = oWMP.cdromCollectiondoif colCDROMs.Count >= 1 thenFor i = 0 to colCDROMs.Count - 1colCDROMs.Item(i).EjectNextFor i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop
NOTE: Here, 5000(Highlighted Value) is the time (5 Seconds/5000 Millisecond) between Drive Pop Out. You can change this value to anything you want.
- Now save this file as anything.vbs.
Click on Notepad Menu > Save As > anything.vbs.
For example, Save the file as PopOut.vbs [.VBS Extension is Important]
- Now Double Click on file to Run it & See your CD/DVD Drive Pop out infinite times. (You have to close your CD/DVD drive manually)
How to Stop this Script:
To stop this script you have stop 'wscript.exe' using task manager. Click here to read complete tutorial to know How to stop VBScript using Task Manager.
If you need any kind of help related to this trick then comment below.
No comments:
Post a Comment