Jump to content

Recommended Posts

Posted (edited)

Hi!

Here's the first preview of my Disc burning UDF, it uses the windows built in COM object IMAPI2 for burning.

Features:

  • Burning data CD & DVD
  • Determine a drives burning capacity
  • Burn ISO files
  • Ejecting/Closing drives
  • Erasing CD-RW / DVD-RW

XP users may have to install the KB932716 update to have this working.

Please give me feedback on this since it's the first time I seriously use COM objects.

Enjoy :)

IMAPI2.au3

(Previous downloads: 862)

IMAPI2_Example.au3

Edited by monoceres

Broken link? PM me and I'll send you the file!

  • Replies 70
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Cool!!,

may I suggest something? I had this add-on for my Total Commander, in which you could burn data onto CD/DVD by copy(F5)ing files from your HDD list to CD/DVD list, so it would be cool if you could establish your script to have this option, "burn as you add data to the CD/DVD", useful for fast data adding to the CD/DVD, like small pictures or doc files, etc...

Posted

Richard, thank you very much :)

@sandin

If you mean like "on the fly" burning I don't know if that's possible with the IMAPI2 interface.

If it's possible I add it to my to-do list :P

Currently I'm trying to add iso support and the possibility to choose write speed. I also need to have more error checking.

:P

Broken link? PM me and I'll send you the file!

Posted

I tested it, and I get this error in imapi2.au3:

......  IMAPI2.au3 (52) : ==> Variable must be of type "Object".:
$iCount = $oDiscmaster.Count()
$iCount = $oDiscmaster^ ERROR

p.s. my OS is Win XP SP3, I have downloaded KB932716, but on installation I get this msg:

---------------------------
KB932716 Setup Error
---------------------------
Setup has detected that the Service Pack version of this system
is newer than the update you are applying.

There is no need to install this update.
---------------------------
OK   
---------------------------
Posted

I tested it, and I get this error in imapi2.au3:

......  IMAPI2.au3 (52) : ==> Variable must be of type "Object".:
 $iCount = $oDiscmaster.Count()
 $iCount = $oDiscmaster^ ERROR

p.s. my OS is Win XP SP3, I have downloaded KB932716, but on installation I get this msg:

---------------------------
 KB932716 Setup Error
 ---------------------------
 Setup has detected that the Service Pack version of this system
 is newer than the update you are applying.
 
 There is no need to install this update.
 ---------------------------
 OK   
 ---------------------------
Seems very weird, the discmaster object is the most basic object in the entire script. The only explanation is that IMAPI2 somehow isn't installed correctly.

Could be useful! Thanks!

Btw, does it support .iso and .img?

I'm working on it :P

http://www.autoitscript.com/forum/index.ph...c=73684&hl=

@All

Thank you so much for showing interest in this :)

Broken link? PM me and I'll send you the file!

Posted (edited)

I tested it (the example) and got the following erro:

C:\Program Files\AutoIt3\Include\IMAPI2.au3 (52) : ==> Variable must be of type "Object".:
$iCount = $oDiscmaster.Count()
$iCount = $oDiscmaster^ ERROR
->15:29:37 AutoIT3.exe ended.rc:1
Edited by ludocus
  • 3 weeks later...
Posted

One question :

How can I delete a folder/file from the fs ? Is it possible ?

(I'm planning to do an app for this UDF ... muttley)

Cheers,

L|M|TER

Posted

That's a bit sad.

Oh and could someone with XP confirm that the example is working?

I haven't been able to test it on a xp machine.

muttley

my burner last week die, Sorry

-jaenster

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