там вот так
- Код: Выделить всё
var g_img_default = gdi.Image(fb.FoobarPath + "images/similar_wmp_mod/nocover.png");
var WshShell = new ActiveXObject("WScript.Shell");
var g_focus_metadb = null;
function on_paint(gr){
g_focus_metadb = fb.GetFocusItem();
if(g_focus_metadb==null){
var g_img = g_img_default;
gr.FillSolidRect(0, 0, window.Width, window.Height, window.GetColorCUI(3));
}
else{
var g_img = utils.GetAlbumArtV2(g_focus_metadb, 0);
if (g_img==null){
g_img = g_img_default;
gr.FillSolidRect(0, 0, window.Width, window.Height, window.GetColorCUI(3));
}
}
gr.DrawImage(g_img, 0, 0, window.Width, window.Height, 0, 0, g_img.Width, g_img.Height);
}
function on_item_focus_change(){
window.Repaint();
}
function on_mouse_lbtn_dblclk(){
if(g_focus_metadb==null) {} else utils.GetAlbumArtAsync(window.ID, g_focus_metadb, 0);
}
function on_get_album_art_done(metadb, art_id, image, image_path){
switch (image_path){
case "": break;
case fb.TitleFormat("%path%").EvalWithMetadb(metadb): break;
default: WshShell.run('"'+image_path+'"');
}
}
//EOF
Подскажите, плиз, как с этим поступить. :-[