title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Desktop interaction issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vwout

    • Oct 2006
    • 3

    Desktop interaction issue

    Hi,

    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?
  • LtData
    dBpoweramp Guru

    • May 2004
    • 8288

    #2
    Re: Desktop interaction issue

    Have you tried looking here: http://www.dbpoweramp.com/developer-scripting-dmc.htm ?

    Comment

    • Vwout

      • Oct 2006
      • 3

      #3
      Re: Desktop interaction issue

      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:
      Code:
      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

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44509

        #4
        Re: Desktop interaction issue

        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.
        Spoon
        www.dbpoweramp.com

        Comment

        • Vwout

          • Oct 2006
          • 3

          #5
          Re: Desktop interaction issue

          k, thanx and keep up the great work! :smile2:

          Comment

          Working...

          ]]>