Forum Home
Press F1
 
Thread ID: 41098 2003-12-30 04:37:00 CD ROM Control NIGGEL (2358) Press F1
Post ID Timestamp Content User
204120 2003-12-31 02:29:00 Thanks Wintertide. That is similar, but the one I was thinking of was much smaller, just a few (3 or 4?) lines typed into Notepad.

I suspect that it would only open the drawer, not close it, as drcspy has mentioned. It was only a fun thing which I tried out then deleted, as I had never had anything to do with Javascript before and was curious about such a simple line of code to open a drawer.

Having said that, I will be removing my "cupholder" program anyway as I don't need it. :)
exLL (515)
204121 2003-12-31 09:40:00 > WinXP Pro

Maybe you've added it in somewhere, cause it's definitely not in mine.

Mike.
Mike (15)
204122 2005-03-25 04:02:00 Ok, now i have a question... does anyone know a way to open the cd-rom using ms-dos(cmd)? I doubt there is a command, but im not sure if there is a way to use a source code from another program that ejects the cd-rom. What im wanting to do is make my own batch file, that opens the cdrom, and im gonan have an echo on it of course. But i need a command to open it frmo ms-dos!!. If you know any way how to, any help would be greatly appreciated, thank you raven (5048)
204123 2005-03-25 04:03:00 By the way, my email is midgetwrangler98@aol.com please email me if u have any information raven (5048)
204124 2005-03-25 04:19:00 Well there's this

http://www.cd-eject-tool.com/ but it isnt free but doesnt work in DOS either. According to Google a command called QCD.exe is a dos command to eject CD's.

Also, I wouldnt put my email in here, unless you want to be spammed to death.
Speedy Gonzales (78)
204125 2006-08-17 15:11:00 Have just found what you were taking about exll - it's some Javascript coding :).

<SCRIPT LANGUAGE="VBScript">
<!--
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
End If
-->
</SCRIPT>

Acctually, it is not... :D as you see the first line is
<SCRIPT LANGUAGE="VBScript"> If it was a JavaScript, it would read:
<SCRIPT LANGUAGE="JavaScript">...but it doesn't :groan: - Instead it reads VBScript (meaning Visual Basic Script Edition) which althogh somewhat similar to JavaScript still isn't the same :nerd: !

Read more about JavaScript (en.wikipedia.org) and VBScript (en.wikipedia.org) at Wikipedia (http://www.wikipedia.org)!
smartguy (5049)
1 2 3