What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help] My Problem...

[Help] My Problem...
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [Help] My Problem...
Ok the problem that your having is that ChatWnd isn't defined as anything. If you look at other examples or even a function (example : )

code:
OnEvent_ChatWndCreated(
    [object] ChatWnd
);

You see how ChatWnd is defined as an object. This is there because Plus! passes the chat window object to the function. This cannot be used the way you are doing it. If you make a global variable
code:
var ChatWnd;

And pass the ChatWnd from the OnEvent_ChatWndCreated to our global ChatWnd then you can use it. However this will overwrite the previous windows.

So if you were sending these messages to Person X and you open a conversation with Persion Y you will be sending them to Person Y and not Person X.

Hope that explains why your getting the error and how you can possibly fix it.
06-29-2006 01:14 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help] My Problem... - by b0rna on 06-29-2006 at 12:02 PM
RE: [Help] My Problem... - by upsfeup on 06-29-2006 at 12:42 PM
RE: [Help] My Problem... - by b0rna on 06-29-2006 at 12:59 PM
RE: [Help] My Problem... - by upsfeup on 06-29-2006 at 01:12 PM
RE: [Help] My Problem... - by matty on 06-29-2006 at 01:14 PM


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