monoceres Posted June 16, 2008 Share Posted June 16, 2008 (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 & DVDDetermine a drives burning capacityBurn ISO filesEjecting/Closing drivesErasing CD-RW / DVD-RWXP 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 June 20, 2009 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 16, 2008 Share Posted June 16, 2008 That looks very useful. Good job. Link to comment Share on other sites More sharing options...
sandin Posted June 16, 2008 Share Posted June 16, 2008 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... Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
monoceres Posted June 16, 2008 Author Share Posted June 16, 2008 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 Currently I'm trying to add iso support and the possibility to choose write speed. I also need to have more error checking. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
sandin Posted June 16, 2008 Share Posted June 16, 2008 ya, I meant "on the fly", unfortunately I found disappointing information @ http://forums.microsoft.com/msdn/ShowPost....99&SiteID=1 (question No. 6) Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
monoceres Posted June 16, 2008 Author Share Posted June 16, 2008 (edited) ya, I meant "on the fly", unfortunately I found disappointing information @ http://forums.microsoft.com/msdn/ShowPost....99&SiteID=1 (question No. 6) 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. Edited June 16, 2008 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
sandin Posted June 17, 2008 Share Posted June 17, 2008 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 --------------------------- Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
walle Posted June 17, 2008 Share Posted June 17, 2008 Could be useful! Thanks! Btw, does it support .iso and .img? Link to comment Share on other sites More sharing options...
ptrex Posted June 17, 2008 Share Posted June 17, 2008 @monoceres Very nice !! Regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
rasim Posted June 17, 2008 Share Posted June 17, 2008 monoceresThank you for example and sharing Link to comment Share on other sites More sharing options...
monoceres Posted June 17, 2008 Author Share Posted June 17, 2008 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 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! Link to comment Share on other sites More sharing options...
rasim Posted June 17, 2008 Share Posted June 17, 2008 (edited) I found a bug After script works is done (burning done) process Autoit3.exe don`t terminate. So add this code in your UDF:Func OnAutoitExit() If ProcessExists(@AutoItPID) Then ProcessClose(@AutoItPID) EndIf EndFunc Edited June 17, 2008 by rasim Link to comment Share on other sites More sharing options...
ludocus Posted June 17, 2008 Share Posted June 17, 2008 wow... nice!! thank you... There are so many includes that Autoit should add to the main list (like this one!) Link to comment Share on other sites More sharing options...
ludocus Posted June 17, 2008 Share Posted June 17, 2008 (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 June 17, 2008 by ludocus Link to comment Share on other sites More sharing options...
sandin Posted June 17, 2008 Share Posted June 17, 2008 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 you had the same prob. I had, I found my solution here: http://rs376.rapidshare.com/files/11934336...-v2-x86-ENU.exe Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
sandin Posted June 17, 2008 Share Posted June 17, 2008 (edited) EDIT: sorry, double post ==> my NET Lags.... T_T Edited June 17, 2008 by sandin Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
monoceres Posted June 17, 2008 Author Share Posted June 17, 2008 I found a bug After script works is done (burning done) process Autoit3.exe don`t terminate. So add this code in your UDF: Func OnAutoitExit() If ProcessExists(@AutoItPID) Then ProcessClose(@AutoItPID) EndIf EndFunc Haven't been able to reproduce but I'll add it anyways, it doesn't hurt to do a extra check Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
walle Posted July 6, 2008 Share Posted July 6, 2008 looking forward to a new release muttley Link to comment Share on other sites More sharing options...
LIMITER Posted July 7, 2008 Share Posted July 7, 2008 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 Link to comment Share on other sites More sharing options...
jaenster Posted July 7, 2008 Share Posted July 7, 2008 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. muttleymy burner last week die, Sorry -jaenster Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now