--- In [email protected], "quantiworks" <quanticwo...@...> wrote:
>
> forxtra,
> 
> Can you merge your two scripts?
> That is, the one using DUI(Default User Interface) and the one using 
> CUI(Columns UI).
> 
> I want to make it degrade in case something fails, like:
> 
> if (DUI)do
> mWP["Stop"] = 1
> 
> Win.PostMessage(hToolbar, WM_COMMAND, mWP[sParam], 0)
> 
> elseif(CUI)
> mWP["Stop"] = 1
> 
> Win.PostMessage(hToolbar, WM_COMMAND, mWP[sParam], 0)
> else
> mWP["Stop"] = 1
> %programfiles%\foobar2000\foobar2000.exe /stop
> 
> 
> Maybe it can have its form simplified but the idea is that.
> TIA
>

Using the command-line switches seems to offer an easier and more varied way 
regardless of applying an additional plugin.

foobar2000.exe /?
- /play, /pause, /playpause, /prev, /next, /rand, /stop - playback controls
- /exit - exits foobar2000


FYI, Guidelines for usiing Commandline
http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Commandline_Guide


Thanks.

Reply via email to