Jump to content

CD Recognition


Recommended Posts

Is there some kind of function that can tell you if a blank cd is in the drive? I am trying to write a program which does the following:

1. Open CD tray.

2. Wait till CD is inserted into drive (Ready status).

3. Check to see if it is a blank cd.

4. If it is a blank cd then burn some data to it. If not then copy the data from the disk to hard drive.

5. Once everything is complete eject cd and start over again.

Can someone please provide some kind of example of some sort?

Thanks in advance.

Link to comment
Share on other sites

1. CDTray in help file

2. DriveStatus in help file might do the trick

3. same as 2

4. you'll have to write functions or run commands for this

5. same as 1

put all in loop

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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...