2015-09-23, 20:42
Can you elaborate on how you get Winamp to launch as a separate player in order to get Milkdrop to work please? This is the main reason I built my boblight setup!
(2015-09-23, 20:42)velkrosmaak Wrote: [ -> ]Can you elaborate on how you get Winamp to launch as a separate player in order to get Milkdrop to work please? This is the main reason I built my boblight setup!
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Event
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTitleMatchMode, 2
DetectHiddenWindows, On
DetectHiddenText, On
FN = %1%
Run "C:\Program Files (x86)\Winamp\winamp.exe" "%FN%",,Max, PID
WinActivate ahk_pid %PID%
WinWaitActive ahk_pid %PID%
Sleep 500
Send, ^+k
Sleep 500
MouseClick, Left, 500, 500
Send, !{Enter}
Sleep 500
Loop
{
IfWinExist - Winamp [Stopped]
{
break
}
Sleep 250
}
Sleep 1000
WinActivate - Winamp [Stopped]
WinWaitActive - Winamp [Stopped]
Sleep 500
Send, !{F4}
<playercorefactory>
<players>
<player name="WinAmp" type="ExternalPlayer" audio="true" video="false">
<filename>C:\Program Files (x86)\Winamp\KodiWinamp.exe</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="mp3" player="WinAmp" />
</rules>
</playercorefactory>