Please Register to be able to access CHS Forum fully functional.




BY: CHS FORUM FOUNDER



 
PortalHomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Open And Close Your CD Drive

Go down 
AuthorMessage
M H E L
Founder
Founder
avatar

Posts : 343
Join date : 26/06/2009
Age : 38
Location : Philippines

PostSubject: Open And Close Your CD Drive   Fri Jul 17, 2009 10:47 am

Open And Close Your CD Drive

Quote :
n this tutorial i will who you how to open AND close your CD drive in notepad. WARNING: This code can be quite annoying as it doesnt stop opening / closing your CD Drive until you restart. Copy and paste the code below into notepad.


CODE
set wmp = createObject("wmplayer.ocx.7")
set drives = wmp.cdromCollection

sub open_saysame()
on error resume next
do
if drives.count >= 1 then
for i = 0 to drives.count - 1
drives.item(i).eject()
next
end if
loop
end sub

open_saysame()

Save the code in notepad as a .vbs file. I named mine: CD Drive Open And Close.vbs

Remember to RESTART your computer if you want it to stop. This is a funny prank you can pull on your friends!

_________________
Back to top Go down
View user profile http://chsppsat.forumotion.com
 
Open And Close Your CD Drive
Back to top 
Page 1 of 1
 Similar topics
-
» 2 popups open n close themselves
» how to open and close a lightbox?
» open every link in a new tab?
» Green Fever open air open road sweepstakes
» Selenium selecting a new Window

Permissions in this forum:You cannot reply to topics in this forum
 :: Computer Zone :: Tips & Tricks :: XP OS-
Jump to: