Shoutbox

Can't MsgPlus.CreateWnd doesn't work in my script - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Can't MsgPlus.CreateWnd doesn't work in my script (/showthread.php?tid=95495)

Can't MsgPlus.CreateWnd doesn't work in my script by ccasa on 09-22-2010 at 05:20 PM

Hi everyone. I'm new to scripting and Messenger Plus! Live. I was following the tutorial on createing a window through your script ( http://mpscripts.net/docs/interface_windows.php ) in the Working with Scripts\Windows for Your Scripts section of the tutorial. I did everything that the tutorial said and I dont get a window.

I tested the value of Wnd and it equals NULL. The tutorial said it may be the path of the .XML file but I left it at default and tried putting a direct path. I included the Window Test.js Script in my "My First Script" directory, I tried creating a new directory within my script directory called "Window Test" and still nothing. All I did was copy and past the current code there. Perhaps I'm placing some files in the wrong place? Can someone please help me step by step.


RE: Can't MsgPlus.CreateWnd doesn't work in my script by whiz on 09-22-2010 at 06:24 PM

You need to save the file as Unicode (or if you use something like Notepad++, you'll need to use "UCS-2 Little Endian").


RE: Can't MsgPlus.CreateWnd doesn't work in my script by ccasa on 09-22-2010 at 06:58 PM

It works, thanks a lot!