View Full Version : Desktop interaction issue

10-31-2006, 04:32 PM

I'm using the dMCScripting.Converter object to convert various formats to the snd (Dalet) format. This is all working okay when I manually start the vbs script I created for the purpose.

Now I would like to enable others to do recoding jobs from our intranet. The procedure itself is not the problem; the vbs script will be started serverside from an ASP page running from IIS on a Windows 2000 server machine.
The user that starts the process will be the IUSR_ account (integrated authentication is not possible). This in itself is not bad, but dbPowerAmp is launching a progress dialog whenever starting a conversion. Now this is not nice as the IUSR_ account does not (can not) have any desktop interaction privileges. This means the encoding process will not start at all, leaving dbPowerAmp to wait forever to start showing the progress dialog.

Is there a way to prevent the dMC scripting engine from wanting to display anything on the desktop?

10-31-2006, 07:25 PM
Have you tried looking here: http://www.dbpoweramp.com/developer-scripting-dmc.htm ?

11-01-2006, 01:41 AM
Yes, that's the page I used for developing the script. After calling dMC.GoConversion the dialog pops up when I run the script from commandline.

The code regarding dMC is:

Set dMC = CreateObject("dMCScripting.Converter") ' Create Scripting Object
dMC.VolumeNormalize = True ' To switch Volume Normalize on
dMC.PreserveTags = True ' Tag Preservation On
dMC.DeleteSourceFiles = False ' Do Not Delete Source Files
dMC.ConvertToFolder = False ' Convert To Same Folder As Original

Call dMC.AddFromFile(sFile)
Call dMC.GoConversion("Dalet", True, True, True, True)
' If NoOptions is true then options page is skipped
' NoOverwrite if true automatically overwrites any ToFiles without asking
' If NoConversionFinished is set, after conversion has compeleted it does not wait for 'Finished' to be clicked
' NoErrorLog if true will not display any error log at end

11-01-2006, 02:51 AM
It is not possible to stop the dlg showing, R12 (in alpha) is a full command line-able codec, but those dalet codecs are currently being written.

11-01-2006, 10:37 AM
k, thanx and keep up the great work! :smile2: