you can use this hotkey script
CODE
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: melomane
; Script Function:
; set output foobar
SetTitleMatchMode, 2
IfWinExist, Preferences
Winclose
Run, foobar2000.exe /config
WinWait, Preferences, , 10
WinActivate, Preferences
ControlFocus, SysTreeView321,Preferences
WinGetText, win,Preferences
IfNotInString, win, Output device
{
Loop
{send p
WinGetText, win,Preferences
IfInString, win, Replaygain
break
}
}
Send {right}
Loop
{send o
WinGetText, win,Preferences
IfInString, win, Output device
break
}
ControlFocus, ComboBox1, Preferences
send, n
send, {home}
send, {Down %1%}
ControlFocus, ComboBox2, Preferences
send, {home}
send, {Down %2%}
if 3=1
{
ControlFocus, button9, Preferences
send, {space}
}
WinClose,Preferences
return
save script in foobar folder or compile it as exe
run script with foo_run
for exemple C:\Program Files\foobar2000\output.ahk 0 0 0
whay is 0 0 0 ?
first 0 is the first device output, if you want the 2nd set 1 , 3th set 2
second 0 is output data, 0 =8bit 1=16bit 2=24bit 3=32bit
3th is dither 0=off 1=on
for exemple if you whant the3th device output at 16bit dither on set path in foo_run as:
C:\Program Files\foobar2000\output.ahk 2 1 1
if someone want a exe file email me