Getting this error on a standard installation
Scripting Engine Initialization Failed (News / Reviews / Blogs by marc2003, CODE: 0x80020101)
Check the console for more information (Always caused by unexcepted script error).
Works fine on a portable installation. What am I doing wrong, it seems like I can not get anything to work on a standard installation that works fine on my portable.
Edit: Was missing common7.js and now that script works, at least that is one problem solved. Sorry!
Edit 2: You May be able to help me with this though
// ==PREPROCESSOR==
// @import "%fb2k_profile_path%marc2003\common7.js"
// @name "News / Reviews / Blogs"
// @author "marc2003"
// @feature "v1.4"
// @feature "watch-metadb"
// ==/PREPROCESSOR==
var p = new panel("News / Reviews / Blogs", ["remap", "metadb", "echonest"]);
var li = new list(6, 30, p.w - 12, p.h - 30);
on_item_focus_change();
function on_size() {
p.size();
li.w = p.w - 12;
li.h = p.h - 30;
li.size();
}
function on_paint(gr) {
p.draw_background(gr);
p.left_text(gr, p.artist + ": " + li.echonest_modes[li.echonest_mode], p.title_font, p.textcolour_hl, 6, 6, p.w - 12, 24);
gr.DrawLine(6, 29, p.w - 6, 29, 1, p.textcolour_hl);
switch(true) {
case !p.metadb:
p.centre_text(gr, "[no selection]", p.normal_font, p.textcolour, 0, 0, p.w, p.h);
break;
case li.items > 0:
li.draw(gr);
break;
default:
p.centre_text(gr, "[nothing found]", p.normal_font, p.textcolour, 0, 0, p.w, p.h);
break;
}
}
function on_metadb_changed() {
li.metadb_changed();
}
function on_mouse_wheel(step) {
li.wheel(step);
}
function on_mouse_move(x, y) {
p.move(x, y);
if (li.move(x, y)) return;
}
function on_mouse_lbtn_up(x, y) {
if (li.lbtn_up(x, y)) return;
}
This displays the date as DAY-MONTH-YEAR what can I do to make it display it as MONTH/DAY/YEAR ?