What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Problem with ChatWndReceiveMessage's Message parameter

Problem with ChatWndReceiveMessage's Message parameter
Author: Message:
higher
New Member
*


Posts: 2
Joined: Oct 2006
O.P. Problem with ChatWndReceiveMessage's Message parameter
Hi!

I want to make a script which replaces the built-in time indicator of messenger. So i would like to see the time of sending before every received and sent lines.

I tried to achieve this with the following code:

function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind )
{
    var a = new Date;   
    MsgPlus.DisplayToast("",Message);
    return Message=a+Message;
   
}

The problem is, that the a variable overwrites the beginning of the Message string. It seems that Message has a fixed length, and it cannot be extended, so my received messages' first letters are always overwritten by the date variable.
Sorry for language, and the basic question.
10-17-2006 06:19 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Problem with ChatWndReceiveMessage's Message parameter - by higher on 10-17-2006 at 06:19 PM
RE: Problem with ChatWndReceiveMessage's Message parameter - by foaly on 10-17-2006 at 06:23 PM
RE: Problem with ChatWndReceiveMessage's Message parameter - by higher on 10-20-2006 at 04:41 PM
RE: Problem with ChatWndReceiveMessage's Message parameter - by Felu on 10-20-2006 at 04:49 PM
RE: Problem with ChatWndReceiveMessage's Message parameter - by Plik on 10-20-2006 at 05:15 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