cdroms)

Upload: apostol-tudor

Post on 21-Mar-2016

216 views

Category:

Documents


0 download

DESCRIPTION

t0y

TRANSCRIPT

  • Set oWMP = CreateObject("WMPlayer.OCX.7") Set colCDROMs = oWMP.cdromCollection wscript.sleep 600000 do if colCDROMs.Count >=1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next End if wscript.sleep 300000 loop

    @SachielBr Sure, just delete rows 8-10 so it doesnt retract itself. then add a new line after the one that ends with Eject. Type " MsgBox("Congratulations! You just won a cup holder!") " and you are done. Now you have a script that gives free cupholders to you peers, but takes them back after 5 mins, delete the last two lines to make the cupholders permanent.