Hi.
I have a code saved in notepad as OpenCD.VBS, to open the CD drive. The code reads:
Dim oWMP
Dim colCDROMs
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
colCDROMs.Item(d).Eject
set owmp = nothing
set colCDROMs = nothing
Would this be modifiable to close the CD tray? I have tried changing "Eject" to "Close", but that comes up with an error saying
"Object doesn't support this property or method: 'Item(...). Close'
Code: 800A01B6"