What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » send message withouth knowing windowhandle?

send message withouth knowing windowhandle?
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: send message withouth knowing windowhandle?
quote:
Originally posted by mistertech
Ok here's the simple way to send a message straight to a contact:


var contact = Messenger.OpenChat([email address]);
//variable contact is now an official ChatWnd object
contact.SendMessage([Message or variable to send]);
//message will be sent to the friend assigned to the variable

Keep in mind, this does not send messages to people who have not been added to your contact list yet.
That code wil fail in many more situations though. You must do some additional checks. See my previous post. ;)
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-25-2007 06:16 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
send message withouth knowing windowhandle? - by runarius on 07-23-2007 at 01:01 AM
RE: send message withouth knowing windowhandle? - by Deco on 07-23-2007 at 01:24 AM
RE: send message withouth knowing windowhandle? - by runarius on 07-23-2007 at 02:32 AM
RE: send message withouth knowing windowhandle? - by CookieRevised on 07-23-2007 at 02:46 AM
RE: send message withouth knowing windowhandle? - by runarius on 07-23-2007 at 03:06 AM
RE: send message withouth knowing windowhandle? - by matty on 07-23-2007 at 05:16 PM
RE: send message withouth knowing windowhandle? - by mistertech on 07-25-2007 at 05:06 AM
RE: send message withouth knowing windowhandle? - by CookieRevised on 07-25-2007 at 06:16 AM


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