if you could live with using a button, it can be done with WSH panel mod. download the component here and add a panel to your layout...
https://code.google.com/p/foo-wsh-panel-mod/downloads/list
now import the sample named SimpleThemedButton.txt
find and replace this...
$buttons = {
Console: new SimpleButton(5, 5, 80, 26, "Console", function () {
fb.ShowConsole();
}),
Configure: new SimpleButton(5, 40, 80, 26, "Configure", function () {
window.ShowConfigure();
})
}
with
$buttons = {
search: new SimpleButton(5, 5, 80, 26, "Search", function () {
var sel = fb.GetFocusItem();
if (!sel)
return;
var title = fb.TitleFormat("$left(%title%,15)").EvalWithMetadb(sel);
fb.CreateAutoPlaylist(plman.PlaylistCount, "Search...", "title HAS " + title);
plman.ActivePlaylist = plman.PlaylistCount - 1;
})
}
edited code so it always works on the selected item. the previous version preferred the playing track....
var sel = fb.IsPlaying ? fb.GetNowPlaying() : fb.GetFocusItem();