Shoutbox

OnEvent_ChatWndReceiveMessage problem - 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: OnEvent_ChatWndReceiveMessage problem (/showthread.php?tid=88455)

OnEvent_ChatWndReceiveMessage problem by Omni on 01-15-2009 at 05:46 AM

I'm trying to create a toast-workaround to the non-flashing tabbed chat problem, but the function "OnEvent_ChatWndReceiveMessage" doesn't appear to work.

I' thought maybe they changed the number of parameters required, but it didn't work with any number of parameters (i tried 0-9). Has anyone run into or resolved this issue? Or do we need to wait for plus v4.80?

Thanks,
-Omni


RE: OnEvent_ChatWndReceiveMessage problem by NanaFreak on 01-15-2009 at 06:38 AM

JScript code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind){
    MsgPlus.DisplayToast('Message?!?','You got a Message');
}


that code seems to work... though i am having the bug where toasts are delayed a long time...
RE: OnEvent_ChatWndReceiveMessage problem by Omni on 01-15-2009 at 10:58 PM

The same code does not work for me. Other types of events such as openning and closing a chat window trigger events, but recieving messages does not. Am I the only one with this issue?

BTW i'm using Messenger 2009+4.79b on a vista laptop.


RE: OnEvent_ChatWndReceiveMessage problem by NanaFreak on 01-15-2009 at 11:37 PM

im using build 14.0.8050.1202 of messenger and 4.79.353 (BETA) of messenger plus on XP Pro sp3

i dont know whats wrong, alot of people use vista and it seems to work i think...


RE: OnEvent_ChatWndReceiveMessage problem by Omni on 01-17-2009 at 04:55 AM

Strange, but no worries, the latest update not only fixed the trigger, but also fixed my reason for needing it. :D

Thanks for your replies NanaFreak

Now to find a way of adding the display contacts by email address again!