Jump to content

Recommended Posts

Posted

Got a VBScript code for you wich seeks ur cd's and ejects em...

Set WMP = CreateObject("WMPlayer.ocx")
Set colCDROMS = WMP.CDROMCollection

If colCDROMS.Count > -1 Then
      For i = 0 to colCDROMS.Count - 1
            colCDROMS.Item(i).Eject
      Next
End If

Write This into a *.vbs and have fun

Posted

@Larry: Thanks

@jpm: I was asking about the C++ code, I understand CDTray(...) in AutoIt.

I was thinking we were on an AutoIT Forum ...
Posted

@jpm: Sorry; I was asking in the Developer section about something AutoIt does. If I had a question about how to use CDTray, it would have been in "Support."

@tonedeaf: I would need to sign up for that. It looked like it would have helped though.

Posted

@jpm: Sorry; I was asking in the Developer section about something AutoIt does. If I had a question about how to use CDTray, it would have been in "Support."

@tonedeaf: I would need to sign up for that. It looked like it would have helped though.

THat's OK but Dev forum is usually around something to be developp with or in AutoIT

Cheers :o

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...