Skip to main content
Topic: WSH Panel Mod (Read 651816 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

WSH Panel Mod

Reply #375
Yes, Xchange write informations to your Xchange folder, so, be sure your profil has rights to write in xchange/settings/ folder (or just your foobar2000 folder) (windows UAC restrictions)

Pointless image quote removed by moderation.

I still have the Problem with the WSH Panel Mod that doesn´t show buttons. After the start of Foobar i get the Error: "Init Scripting Engine Failed (HWND: 0x305e2, CODE: 0x800401f3): Ungültige Klassenzeichenfolge" [3x or 4x of this message with other HWND numbers] and "Windows Script Control not installed. Download it from...".

I have WinXP Pro, SP3, all things up to date. The whole Foobar2000 Folder have write access. I have administrator Rights.
Deinstall and reinstall foobar2000 and install the XChange V3.5.1b didn´t help. Still no buttons visible in the WSH Panel Mod, like the use "El Loco Chocko" in this postings (Post #321).

And i install the Windows Script Control from Microsoft. No effect. Still scripting errors.

So, what now?

WSH Panel Mod

Reply #376
Update: I updated the wsh panel mod.dll to new version V1.1.0 and now this panel shows me only this Error text in each wsh bar: "Script Error". One is right from the I-Symbol on the Top and four at the bottom. In the console are no errors written.

WSH Panel Mod

Reply #377
try a fresh install of foobar, and then install the fresh Xchange 3.5.2

WSH Panel Mod

Reply #378
I deinstall the previous Version completely and install the new one, V3.5.2 (+ your components and fonts, of course).
Still the same Script Error (see the Picture that shows the bottom of XChange, the whs panel mod).



I have to say, that i used the Xchange V2 in the past and i had no problems or errors. So i think, in the new Version 3.5.x must be a bad script (line).
And i tried out different drives. Before E:/ ; than C:/
And i turned off the Outpost Firewall.
(Kaspersky Antivirus is installed, but not running)
No effect. Still script errors.

I will not give up. Please help! What is going wrong?

Best regards
Herone

WSH Panel Mod

Reply #379
Please take a look at the console (Menu --> View --> Console) and post the entries.

WSH Panel Mod

Reply #380
WSH Panel Mod 1.1.11 Released.
Source code now hosted on googlecode using Mercurial SCM.


WSH Panel Mod

Reply #382
the new SetCursor(id); rocks !!

thanx a lot, it works like a charm  Keep up the good work!

WSH Panel Mod

Reply #383
I took a look at the console (Menu --> View --> Console) and: No errors written. It looks like this:
Watching: D:\Musik\Blues
Filter Panel - Genre: initialised in 0.003 s
Filter Panel - Artist: initialised in 0.007 s
Filter Panel - Album: initialised in 0.008 s
Startup time : 0:02.822714

The script error that pop ups in separate windows show this (the first line is the last error massage):
-----------------------
Scripting Engine Initialization Failed (GUID: 883C9342-A015-4930-ACA9-E6C01E062750, CODE: 0x800401f3): Ungültige Klassenzeichenfolge

Scripting Engine Initialization Failed (GUID: F430759F-4E5C-4E96-8ADB-8F76B82AC9C2, CODE: 0x800401f3): Ungültige Klassenzeichenfolge

Scripting Engine Initialization Failed (GUID: 56DF1127-3F17-4DD0-9A1C-28E68A692096, CODE: 0x800401f3): Ungültige Klassenzeichenfolge

Scripting Engine Initialization Failed (GUID: CFD19F51-0140-444F-BA25-096381C4D8E1, CODE: 0x800401f3): Ungültige Klassenzeichenfolge

Scripting Engine Initialization Failed (GUID: 6DE51533-8626-4A22-827A-C4A5C7D89249, CODE: 0x800401f3): Ungültige Klassenzeichenfolge

Scripting Engine Initialization Failed (GUID: 305E4E48-FAA0-4D8C-9992-64751C8364C2, CODE: 0x800401f3): Ungültige Klassenzeichenfolge

Scripting Engine Initialization Failed (GUID: 9C80188A-367D-436B-86C9-F40D8BFBE4B7, CODE: 0x800401f3): Ungültige Klassenzeichenfolge

Windows Script Control not installed. Download it from <http://www.microsoft.com/downloads/details.aspx?FamilyId=D7E31492-2595-49E6-8C02-1426FEC693AC>.

Scripting Engine Initialization Failed (GUID: D8C107F3-CD87-47B0-9268-B2A93F21DD6F, CODE: 0x800401f3): Ungültige Klassenzeichenfolge

Scripting Engine Initialization Failed (GUID: FE555B68-9973-4106-9569-0F56AA7E707A, CODE: 0x800401f3): Ungültige Klassenzeichenfolge
-------------------

And i installed the new wsh panel mod V1.1.11. Still script Errors.
Now i am going to install this XChange on a other WinXP which i have only for gaming. I will tell the results soon.

WSH Panel Mod

Reply #384
@Herone: I had the same problem with you since Xchange 3.5.1 and with 3.5.2.
I have found the way to solve this problem.

I have installed Windows Script 5.7 (Windows Script Hosting) and it's worked perfectly, download here
http://download.microsoft.com/download/4/4...17/scripten.exe
After install Windows Script 5.7 restart computer and run foobar again.

WSH Panel Mod

Reply #385
tdloc is right

it was written in the console log !

"Windows Script Control not installed. Download it from <http://www.microsoft.com/downloads/details.aspx?FamilyId=D7E31492-2595-49E6-8C02-1426FEC693AC>."

WSH Panel Mod

Reply #386
But Herone wrote that he already installed it

Quote
And i install the Windows Script Control from Microsoft. No effect. Still scripting errors.

WSH Panel Mod

Reply #387
but it looks not recognized by its system, he should try a new install because, it seems that's the problem.

WSH Panel Mod

Reply #388
Now i tried it out on my other System, i call it "gaming system" because it is clean and fast. Only a few games installed.
And i wondered: Xchange V3.5.2 is running without any error!??

Ok, so there must be something wrong with my other WinXP System with many programs installed.
So i went and play back my System-Backup of my "working system" which i made only a week ago (lucky man!!!).
And i wondered: Xchange is running fine with my 1 week old System-Backup. Even the new wsh panel mod is running fine. No errors.

Conclusion: Something must happened on my WinXP in the last week that produce errors in JScripting. It is sad but i don´t know what.

Xchange is running fine now. 
Many thanks for your Help!


 

WSH Panel Mod

Reply #390
i have a problem under windows 7 x64


console:
Code: [Select]
WSH Panel Mod (GUID: D8C107F3-CD87-47B0-9268-B2A93F21DD6F): initliased in 0.0000051 s
Filter 0 msec
Group 0 msec
Populate 0 msec
Filter Panel - Genre: initialised in 0.000 s
Filter Panel - Artist: initialised in 0.000 s
Filter Panel - Album: initialised in 0.001 s
WSH Panel Mod (GUID: 9C80188A-367D-436B-86C9-F40D8BFBE4B7): initliased in 0.0000009 s
WSH Panel Mod (GUID: 305E4E48-FAA0-4D8C-9992-64751C8364C2): initliased in 0.0000018 s
WSH Panel Mod (GUID: 6DE51533-8626-4A22-827A-C4A5C7D89249): initliased in 0.0000016 s
WSH Panel Mod (GUID: CFD19F51-0140-444F-BA25-096381C4D8E1): initliased in 0.0000050 s
WSH Panel Mod (GUID: 56DF1127-3F17-4DD0-9A1C-28E68A692096): initliased in 0.0000020 s
WSH Panel Mod (GUID: F430759F-4E5C-4E96-8ADB-8F76B82AC9C2): initliased in 0.0000009 s
WSH Panel Mod (GUID: 883C9342-A015-4930-ACA9-E6C01E062750): initliased in 0.0000047 s
Startup time : 0:01.603999
Times: a0 - a1: 0msec
Times: a1 - a2: 0msec
Times: a2 - a3: 0msec
Times: a3 - a4: 0msec
Times: a4 - a5: 0msec
Synch: 0 msec (in mainthread!)




WSH Panel Mod

Reply #391
[quote author=CHEF-KOCH link=msg=667534 date=1258147954]i have a problem under windows 7 x64

[/quote]

WSH is working fine, your problem is the settings of Shpeck components, refer to Shpeck settings, check the Shpeck Topic for more detailled information about it ... but here is the wrong place to post.

Regards

WSH Panel Mod

Reply #392
I found out what cause the WSH Panel Mod script errors on my Xchange V3.x
I installed a newer version of a software - TC Up V4.9. It´s a file manager, Total Commander, but with many extras in one package.
After the Installation of this newer Version i get script errors in the whs panel.
So i updated only(!) Total Commander to the newer Version but leave the extras from Package TC UP V4.6 which i have running before.
New Version of Total Commander (7.50a) is running fine and - more important -  Xchange runs also fine. No script errors.

So with the software TC UP in Version 4.9 ist something wrong. I will tell this information to the programmer.

WSH Panel Mod

Reply #393
I made clock, just for fun. I thought I'd share it.
Code: [Select]
var dir = fb.FoobarPath+"\\images\\clock\\";
var face = gdi.Image(dir+"clockface.png");
var h_hand = gdi.Image(dir+"h_hand.png");
var m_hand = gdi.Image(dir+"m_hand.png");
var s_hand = gdi.Image(dir+"s_hand.png");

var h_angle, m_angle, s_angle;

var clock_timer = window.CreateTimerInterval(40);

var d = new Date();
var ms;

var datefont = gdi.Font("Calibri", 22, 1)
var days = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
var months = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
var suf;

var ww = window.Width;
var wh = window.Height;

function StringFormat()
{
var h_align = 0, v_align = 0, trimming = 0, flags = 0;
switch (arguments.length)
{
// fall-thru
case 4:
flags = arguments[3];
case 3:
trimming = arguments[2];
case 2:
v_align = arguments[1];
case 1:
h_align = arguments[0];
break;
default:
return 0;
}
return ((h_align << 28) | (v_align << 24) | (trimming << 20) | flags);
}
var g_stringformat = StringFormat(1, 0);

function on_paint(gr)
{
if(d.getDate()==1 || d.getDate()==21 || d.getDate()==31)
{suf = "st"}
else if(d.getDate()==2 || d.getDate()==22)
{suf = "nd"}
else if(d.getDate()==3 || d.getDate()==23)
{suf = "rd"}
else
{suf = "th"}
gr.SetTextRenderingHint(5);

gr.FillSolidRect(0,0,ww,wh,0xff191919);
gr.DrawImage( face, ww/2-face.Width/2, 20, face.Width, face.Height, 0, 0, face.Width, face.Height);
gr.DrawImage( h_hand, ww/2-h_hand.Width/2, 20, h_hand.Width, h_hand.Height, 0, 0, h_hand.Width, h_hand.Height, h_angle);
gr.DrawImage( m_hand, ww/2-m_hand.Width/2, 20, m_hand.Width, m_hand.Height, 0, 0, m_hand.Width, m_hand.Height, m_angle);
gr.DrawImage( s_hand, ww/2-s_hand.Width/2, 20, s_hand.Width, s_hand.Height, 0, 0, s_hand.Width, s_hand.Height, s_angle);
gr.DrawString(days[d.getDay()]+", "+d.getDate()+suf+" "+months[d.getMonth()], datefont, 0xffDEDEDE, 0, 250, ww, 40, g_stringformat);
}

function on_size()
{
ww = window.Width;
wh = window.Height;
}

function on_timer(id)
{
d = new Date();
ms = d.getMilliseconds()/1000;
s_angle = 360*(d.getSeconds()+Math.pow(ms,32)+0.3*Math.cos(60*ms)*Math.exp(-15*ms))/60;
m_angle = 360*d.getMinutes()/60+s_angle/60;
h_angle = 360*(d.getHours()%12)/12+m_angle/12;
window.Repaint();
}
Here are the images (you'll need to rename them):


Oh, and I have another question: is it possible to stroke text? I.e. add a border to the letters? I tried with the box blur method but didn't get very far. Thanks.

WSH Panel Mod

Reply #394
I'm using Xchange 3.5.2 skin.
Can you help me how to add a WSH Panel Mod to use your clock?

Thanks.

WSH Panel Mod

Reply #395
Hi, I'm afraid I'm not familiar with Xchange, and you probably need to know how to use panel stack splitter in order to add it. Falstaff might be able to help.

WSH Panel Mod

Reply #396
BTW, thanks for your clock.

WSH Panel Mod

Reply #397
Does anyone know if it's possible to get a system color to use for coloring an object?  For example, in panel stack splitter or el playlist, the command is $getsyscolor(color index #)
So i would like to be able to do something like...

gr.DrawRect(2,vofset-1, ww+iw+1, ih+1, 1, $getsyscolor(4));

which would then paint the rectangle using the color that the current visual style has defined for menus.

Thanks for any help.


WSH Panel Mod

Reply #399
Want to share WSH Panel mod-Script.


Metronome

screenshot:
[a href=\"http://www.abload.de/image.php?img=metronomes7li.jpg\" target=\"_blank\"]

 
SimplePortal 1.0.0 RC1 © 2008-2020