Jump to content

CDTray


Recommended Posts

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

Link to comment
Share on other sites

@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

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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