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:
mistertech
New Member
*

Actual size may differ from shown

Posts: 1
44 / Male / Flag
Joined: Jul 2007
RE: send message withouth knowing windowhandle?
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.

As far as text files, there are some code snippets at

www.mpscripts.net

However I could not get them to work.(Didn't debug the code to figure out why; could be their code or mine).  You are looking for Windows Script Host functions.  They deal with files and the registry and many other things Windows related.  You'll find a link to the info on the functions in the Messenger Plus! Live Scripting Documentation under heading:
Objects Reference\MsgPlus Object\Properties\ScriptRegPath
Here is a direct link:

http://msdn2.microsoft.com/en-us/library/2x3w20xf.aspx

I hope it helps
07-25-2007 05:06 AM
Profile E-Mail 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