summaryrefslogtreecommitdiff
path: root/Hungry Disc Tray/hungry_disc_tray.vbs
blob: 7c78340dec7c67850a42cf7129beb6b8d13e6369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
MsgBox "I Say Disco you Say Party Disco Disco Party Party", VBCritical, "Wanna Play Disco ? "
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
loop
End If