Hey, hey.
I have written a script in VB to open the CD Tray
and have got it to run on the click of a button.
Any ideas on how, using the same Idea (or a completely different one) I would get the VBScript to close the CD Tray again?
Sam
I have written a script in VB to open the CD Tray
Code:
<script language="VBScript"> <!-- Sub Eject() 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 End Sub --> </script>
Any ideas on how, using the same Idea (or a completely different one) I would get the VBScript to close the CD Tray again?
Sam
Comment