WSH Panel Mod script discussion/help
^i don't know anything about wingdings/unicode but that error hucifer reported is specifically related to getting the default font from foobar itself. the component provides methods to get them. here's a bit more of the code.... if (g_instancetype == 0) { //columns UI g_font = window.GetFontCUI(FontTypeCUI.items); g_font_headers = window.GetFontCUI(FontTypeCUI.labels); }; else if (g_instancetype == 1) { //default UI g_font = window.GetFontDUI(FontTypeDUI.playlists); g_font_headers = window.GetFontDUI(FontTypeDUI.tabs); }; var fname = g_font.Name; //this throws an error if using a font like the one below here's my original report in the component thread with an example font....i'm not sure whether it's worth reporting bugs as T.P doesn't seem to be around these days. hope he's ok. i've found a problem with getting the name from a font object.var font = window.GetFontDUI(0); var name = font.Name; for the majority of people, the name is going Segoe UI if their font is left at the default. i imagine most standard fonts are fine as well. no problem there. but today someone reported that the function fails with Small Fonts . you get this error in the console....Unable to get value of the property 'Name': object is null or undefined upon checking the font properties, i see this... looks like the Title has multiple values stored internally but WSH panel mod can't handle it. for now i'm catching errors and defaulting to a standard font.