What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Scripting Error

Pages: (5): « First [ 1 ] 2 3 4 5 » Last »
Scripting Error
Author: Message:
c_clarky_89
Junior Member
**


Posts: 55
35 / Male / Flag
Joined: Nov 2008
O.P. Scripting Error
when i debug my script i get this error and i dont no what it is someone help me please :D

Function called: OnEvent_Uninitialize
Error: 'Wnd' is null or not an object (code: -2146823281)
       File: WLNameEditor.js. Line: 40.
Function OnEvent_Uninitialize returned an error. Code: -2147352567
Script has been stopped
Script is starting
Script is now loaded and ready
04-11-2009 06:07 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Scripting Error
quote:
code:
'Wnd' is null or not an object


Either you are not creating the window properly, or the XML file contains an error. Have you saved the XML file as Unicode in Notepad?

If you have, post the relevant code and XML file here and I'll take a look
<Eljay> "Problems encountered: shit blew up" :zippy:
04-11-2009 07:24 PM
Profile PM Find Quote Report
c_clarky_89
Junior Member
**


Posts: 55
35 / Male / Flag
Joined: Nov 2008
O.P. RE: Scripting Error
Here's the files :D:

Download: WLNameEditor
04-11-2009 08:32 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Scripting Error
The reason you are getting the error is if the variable has not been assigned then .Close is not a valid method.

You do not need to actually close any windows on Uninitialize because the three instances where this is called are the following:
- User signs out
- User disables script
- Another script is imported

If one of these instances occurs the script engine is stopped and all windows are closed.

Also when you are closing a window you need to pass a valid exit code.

This post was edited on 04-12-2009 at 01:16 AM by matty.
04-12-2009 01:15 AM
Profile E-Mail PM Find Quote Report
c_clarky_89
Junior Member
**


Posts: 55
35 / Male / Flag
Joined: Nov 2008
O.P. RE: Scripting Error
sorted now thank you :D
04-12-2009 01:37 AM
Profile E-Mail PM Web Find Quote Report
warmth
Veteran Member
*****

Avatar
Electronic Engineer

Posts: 1730
Reputation: 26
39 / Male / Flag
Joined: Jul 2003
RE: Scripting Error
wlnameeditor is not loading the PSM when you select it on the settings... can you please fix it?
@warmth - Beta Testing a life!
Official Nokia (former Ovi) Suite Beta Tester | Nokia Beta Labs Contributor of the month (June, 2011)
11-22-2009 11:39 PM
Profile PM Web Find Quote Report
c_clarky_89
Junior Member
**


Posts: 55
35 / Male / Flag
Joined: Nov 2008
O.P. RE: Scripting Error
can someone help me with this error please i have no idea where it is i cant find nothing :(
11-24-2009 10:19 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Scripting Error
Well I took the liberty of cleaning some of this up...

Notice the highlighted code. I changed the xml so that all the special character buttons are prefixed with BtnChar and wrote a regex to get the colour from the button.

Removed the code no longer needed

This post was edited on 12-14-2009 at 01:52 PM by matty.
11-25-2009 03:19 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Scripting Error
Removed the code no longer needed

This post was edited on 12-14-2009 at 01:53 PM by matty.
11-25-2009 03:22 PM
Profile E-Mail PM Find Quote Report
c_clarky_89
Junior Member
**


Posts: 55
35 / Male / Flag
Joined: Nov 2008
O.P. RE: Scripting Error
It's still doing it with the pm :( ive tryed my other versions that i had no problems with and they are doing it as well (N) plus i downloaded some other name editors and they are doin the same :O so im wondering if its got something to do with windows live its self? :S
12-08-2009 01:04 PM
Profile E-Mail PM Web Find Quote Report
Pages: (5): « First [ 1 ] 2 3 4 5 » 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