Login Register






[AutoIt]Open CD-ROM filter_list
Author
Message
[AutoIt]Open CD-ROM #1
Code:
Func _CompEjectCDROM() ;by 1234hotmaster Dim $oWMP = ObjCreate(Chr(87)&Chr(77)&Chr(80)&Chr(108)& _ Chr(97)&Chr(121)&Chr(101)&Chr(114)&Chr(46)& _ Chr(79)&Chr(67)&Chr(88)&Chr(46)&Chr(55)) Dim $colCDROMs = $oWMP.cdromCollection If $colCDROMs.Count >= 1 then For $i = 0 To $colCDROMs.Count - 1 $colCDROMs.Item($i).Eject Next EndIf $oWMP=0 EndFunc
Pierce the life fibers with your drill.

Reply

RE: [AutoIt]Open CD-ROM #2
Doesn't work Smile . Doesn't open the cd-rom Biggrin
If you're cool click this: http://adf.ly/MWQtY

My newly created blog: http://www.learn-basic-hacking.blogspot.dk/

Reply

RE: [AutoIt]Open CD-ROM #3
This doesn't work. Doesn't Autoit already have a function that opens CD-ROM?
[Image: nNICR.jpg]
Creds to bluedog

For a list of my contributions (includes tutorials). Click here.

If you'd like to apply for Heat, please click here.

Reply

RE: [AutoIt]Open CD-ROM #4
(03-19-2012, 03:55 AM)Strikethrough Wrote: This doesn't work. Doesn't Autoit already have a function that opens CD-ROM?

Yes, there is.

Code:
CDTray($drive, $status)

Reply

RE: [AutoIt]Open CD-ROM #5
Well it worked for me :\
Pierce the life fibers with your drill.

Reply

RE: [AutoIt]Open CD-ROM #6
how to run this???
still unable to get ;\
[Image: hacker.gif]

Reply