title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Script to enque files from the command line

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • donny
    dBpoweramp Guru
    • Oct 2002
    • 761

    Script to enque files from the command line

    In talk about how to get dap working with other softwer as a player the problem that you can't queue form the command line arouse.
    So this script resolves it...
    Code:
    Set Multiplayer = CreateObject("dBpowerAMP.Multiplayer") 
    
    For each arg in Wscript.Arguments
    	Multiplayer.Enque = arg
    Next
    should work perfectly under all win xp and 2000 systems, not sure about win98 but maybe it does.

    just copy the above code into a new text file and save it with a vbs extension (i.e. "dapenq.vbs").
    you can enque multiple items thru the command line i.e. "dapenq.vbs song1 song2 song3"
    if there are spaces or any potencially proiblematic char in the filename use quotes around it i.e "c:\music\queen bijou.mp3"
    Last edited by donny; 04-22-2007, 12:11 PM.
Working...

]]>