What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » My script doesn't display windows

Pages: (3): « First [ 1 ] 2 3 » Last »
My script doesn't display windows
Author: Message:
QQQ932
New Member
*


Posts: 8
Joined: Feb 2010
O.P. My script doesn't display windows
Hi all. First of all...sorry for my really bad english ^^.
I tried the following code as the reference suggest, but it doesnt't work

code:
function OnEvent_Initialize(MessengerStart)
{
        var Wnd = MsgPlus.CreateWnd("window.xml", "Wnd");
}

I checked each to arguments, but they're right. Also tried with xml files taken from another scripts, but it doesn't work >.<
02-17-2010 10:58 AM
Profile E-Mail PM Find Quote Report
billyy
Full Member
***

Avatar

Posts: 103
Reputation: 1
37 / Male / Flag
Joined: Feb 2010
Status: Away
RE: My script doesn't display windows
You are trying to show a window at startup?
Isn't that like.. guna anoy people O_O
Further i has tryed the code and all i can think of is that theres a mistake in the xml file or what ever you have typed in the second argument does not match the Window Id.

But i is just a nublet myself :/

This post was edited on 02-17-2010 at 12:36 PM by billyy.
I'm new at this, so don't expect me to be usefull any
time soon. But if i behaved you could rep me :P
02-17-2010 12:26 PM
Profile E-Mail PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: My script doesn't display windows
Make sure you've saved your XML file as Unicode (a.k.a. UTF-16 a.k.a. UCS-2 Little Endian).
In Notepad, you select the encoding from the drop-down box in the Save As dialog. In other text editors, you should find a similar option to save as Unicode.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
02-17-2010 12:29 PM
Profile E-Mail PM Web Find Quote Report
QQQ932
New Member
*


Posts: 8
Joined: Feb 2010
O.P. .
I said that the two arguments are right...i checked them >.<
And i said that i tried working xml files from other scripts, too :)
02-17-2010 12:38 PM
Profile E-Mail PM Find Quote Report
billyy
Full Member
***

Avatar

Posts: 103
Reputation: 1
37 / Male / Flag
Joined: Feb 2010
Status: Away
RE: My script doesn't display windows
Well im sorry but something must be wrong, just checking :/
Plus if all that IS indeed right than the problem couldn't be in the script, unless somewhere else.
Maybe the script isnt event activated because of like a bracket mistake, so please make sure all that is okay too.

This post was edited on 02-17-2010 at 12:48 PM by billyy.
I'm new at this, so don't expect me to be usefull any
time soon. But if i behaved you could rep me :P
02-17-2010 12:46 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: My script doesn't display windows
As Matti said have you made sure that the XML file is saved as Unicode?
02-17-2010 01:55 PM
Profile E-Mail PM Find Quote Report
billyy
Full Member
***

Avatar

Posts: 103
Reputation: 1
37 / Male / Flag
Joined: Feb 2010
Status: Away
RE: My script doesn't display windows
Well he said he took working xml files from other scripts...
So i gues it should be :/
I'm new at this, so don't expect me to be usefull any
time soon. But if i behaved you could rep me :P
02-17-2010 02:04 PM
Profile E-Mail PM Find Quote Report
QQQ932
New Member
*


Posts: 8
Joined: Feb 2010
O.P. RE: My script doesn't display windows
Here's the debug tracing
quote:
Script in caricamento
Lo script è ora caricato e pronto.
Funzione chiamata: OnEvent_Initialize
It's in italian...it says that the script is loaded and OnEvent_Initialize is called.
There are no traces of errors

This post was edited on 02-17-2010 at 02:20 PM by QQQ932.
02-17-2010 02:19 PM
Profile E-Mail PM Find Quote Report
billyy
Full Member
***

Avatar

Posts: 103
Reputation: 1
37 / Male / Flag
Joined: Feb 2010
Status: Away
RE: My script doesn't display windows
Could you maybe send it?
I'm new at this, so don't expect me to be usefull any
time soon. But if i behaved you could rep me :P
02-17-2010 02:21 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: My script doesn't display windows
Can you ZIP all of the files and post them here. Doesn't need to be a PLSC I dont need to import it just need to look over it.
02-17-2010 02:22 PM
Profile E-Mail PM Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On