Jump to content

Help with COM objects


Beege
 Share

Recommended Posts

Can anyone help me with using the objects for a program called dbpowerAMP? I am so confused with the format. Any help or basic examples would be great.

all i can get to work is creating the object.

$converter = ObjCreate('DMCScripting.converter')

if IsObj($converter) then MsgBox(0,'','Its an object')

Ya... Pretty sweet. Here is a link to all the info of the object:

dbpowerAMP Scripting

Thanks

Link to comment
Share on other sites

I ran one of their samples through VAConvert:

; Create $dMC Object
 $dMC = ObjCreate("dMCScripting.Converter")

; Set My options (Volume norm off, ID Tag Preservation On, No delete Source files)
$dMC.VolumeNormalize = 0
$dMC.PreserveTags = 1
$dMC.DeleteSourceFiles = 0

; Set Output Folder (to C:\Conversion123 )
$dMC.ConvertToFolder = 1
$dMC.ToFolder = "C:\Conversion123"

; Add My Files to Convert
 $dMC.AddFromFile("C:\AudioFile1.mp3")
 $dMC.AddFromFile("C:\AudioFile2.mp3")

; Convert To Wave (No option page, Want Overwrite page, Want finished, Want Errors)
 $dMC.GoConversion("Wave", 1, 0, 0, 0)

[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

Link to comment
Share on other sites

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