by sn0skier » Mon Jun 10, 2019 1:25 pm
I've had problems getting minilyrics to consistently embed. If Mediamonkey takes a long time to startup I get a window from minilyrics asking what program to startup (even though mediamonkey is already in the process of starting up). I think this is because I used the non-skinned version of mediamonkey. Here is how I solved this:
1. Open minilyrics with mediamonkey already running so that you get to the regular minilyrics window and then right click on it --> preferences --> system tab --> startup sub-tab/button --> uncheck all players
2. Use the following autohotkey script to launch MediaMonkey instead of directly launching it. This will launch MiniLyrics after the Mediamonkey main window opens.
Code: Select all
; #Warn ; Enable warnings to assist with detecting common errors.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Sometimes Event is better and allows you to add SetKeyDelay [, Delay, PressDuration, Play]
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTitleMatchMode, 2 ;1-starts with, 2-contains, 3-exact match, RegEx
#SingleInstance Force
; #Persistent
If winexist(" ahk_class TFMainWindow")
{
WinActivate
}
Else
{
run, "C:\Program Files (x86)\MediaMonkey\MediaMonkey.exe"
winwait, ahk_class TFMainWindow
run, "C:\Program Files (x86)\MiniLyrics\MiniLyrics.exe"
}
Return
I've had problems getting minilyrics to consistently embed. If Mediamonkey takes a long time to startup I get a window from minilyrics asking what program to startup (even though mediamonkey is already in the process of starting up). I think this is because I used the non-skinned version of mediamonkey. Here is how I solved this:
1. Open minilyrics with mediamonkey already running so that you get to the regular minilyrics window and then right click on it --> preferences --> system tab --> startup sub-tab/button --> uncheck all players
2. Use the following autohotkey script to launch MediaMonkey instead of directly launching it. This will launch MiniLyrics after the Mediamonkey main window opens.
[code]
; #Warn ; Enable warnings to assist with detecting common errors.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Sometimes Event is better and allows you to add SetKeyDelay [, Delay, PressDuration, Play]
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTitleMatchMode, 2 ;1-starts with, 2-contains, 3-exact match, RegEx
#SingleInstance Force
; #Persistent
If winexist(" ahk_class TFMainWindow")
{
WinActivate
}
Else
{
run, "C:\Program Files (x86)\MediaMonkey\MediaMonkey.exe"
winwait, ahk_class TFMainWindow
run, "C:\Program Files (x86)\MiniLyrics\MiniLyrics.exe"
}
Return
[/code]