What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Help » <SOLVED> Script interface "problem"

<SOLVED> Script interface "problem"
Author: Message:
Fr4sbokz
New Member
*


Posts: 5
– / – / Flag
Joined: Jan 2009
O.P. <SOLVED> Script interface "problem"
Hello.
I'm kinda new to Scripting in MP!L, and I need some help with... the Interface. :)

Well. I took a peek in the Scripting Documentiation, and I found the chapter about Interface, or 'Windows for your script'!
I tried to follow the instructions to make the Tutorial interface (Hello World!), but it just refuses to work.

First, I copied all the stuff in the codebox, pasted in Notepad(2), saved it to my Script's folder (Windows Test), and named it InterfaceTest.xml.

Then, I wrote

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


exactly as it said, saved the script... But no, no window came up after the Debugging window said 'Anropad funktion: OnEvent_Initialize' (Swedish. xD)

I get no error messages or anything, but still no window. >:
Also, Im using WLM2009 (1202) and MP!L 4.79.0.353 Beta!

Please help me with this nooby error, and I'll delete the thread. <3

EDIT: I forgot to mention that other scripts interface work. <_<

This post was edited on 01-11-2009 at 04:45 PM by Fr4sbokz.
01-11-2009 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: Script interface "problem"
You need to save the file as Unicode not ANSI it is an option at the bottom of Notepad when saving a file.
01-11-2009 02:30 PM
Profile E-Mail PM Find Quote Report
Fr4sbokz
New Member
*


Posts: 5
– / – / Flag
Joined: Jan 2009
O.P. RE: RE: Script interface "problem"
quote:
Originally posted by matty
You need to save the file as Unicode not ANSI it is an option at the bottom of Notepad when saving a file.

That worked! Thanks! :D

Really, you should add this to the helpfile or something. >:
01-11-2009 02:40 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Script interface "problem"
Agreed, however this has been brought up before on the forums and a little searching would have revealed the answer ;).
01-11-2009 04:41 PM
Profile E-Mail PM Find Quote Report
« 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