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

writing text in registry?
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: writing text in registry?
quote:
Originally posted by PedroGabriel
Eg:

function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, rMessage, MsgKind){
    if (rMessage !==''){
        ChatWnd.SendMessage(Contact.Email+'\n'+rMessage);
}}

I can't find this on forums too =[
Contact.Email is not passed as a part of this function.

You need to enumerate the ChatWnd.Contacts object.

js code:
function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nKind) {
    for (var oContact = new Enumerator(pChatWnd.Contacts); !oContact.atEnd(); oContact.moveNext()) {
        Debug.Trace(oContact.item().Email);
    }
}
08-14-2010 02:09 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
writing text in registry? - by PedroGabriel on 08-13-2010 at 09:16 PM
RE: writing text in registry? - by whiz on 08-13-2010 at 09:40 PM
RE: writing text in registry? - by matty on 08-13-2010 at 09:41 PM
RE: RE: writing text in registry? - by PedroGabriel on 08-13-2010 at 09:59 PM
RE: writing text in registry? - by matty on 08-14-2010 at 01:33 AM
RE: writing text in registry? - by PedroGabriel on 08-14-2010 at 01:43 AM
RE: writing text in registry? - by matty on 08-14-2010 at 02:09 AM
RE: writing text in registry? - by PedroGabriel on 08-14-2010 at 02:17 AM
RE: writing text in registry? - by Matti on 08-14-2010 at 08:34 AM
RE: writing text in registry? - by PedroGabriel on 08-14-2010 at 09:47 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