What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [OK]SendMessage Function

[OK]SendMessage Function
Author: Message:
Lén
Junior Member
**

Avatar

Posts: 16
35 / Male / Flag
Joined: Feb 2008
O.P. [OK]SendMessage Function
Hey it's me, again *-)

well, i would send a message in a window ... not that hard if i want to send it to the last personn who has talk to me, but ... if i want to choose another personn ?

I've found in the Help that i should use SendMessage:
http://msdn.microsoft.com/en-us/library/ms644950(VS.85).aspx

But how can i use it in the msg plus! Jscript ?

i've tried:

han = 2425418
SendMessage(han,"my string",0,0);


but t doesn't work .... i caught  the handle with:

var e = new Enumerator(Windows);
        for(; !e.atEnd(); e.moveNext())
        {
            var ChatWindow = e.item();
            Debug.Trace(" Handle: " + ChatWindow.Handle);
        }



Thanks !

This post was edited on 08-10-2009 at 07:49 PM by Lén.
08-09-2009 10:12 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[OK]SendMessage Function - by Lén on 08-09-2009 at 10:12 PM
RE: SendMessage Function - by Spunky on 08-09-2009 at 11:00 PM
RE: SendMessage Function - by Lén on 08-09-2009 at 11:26 PM
RE: SendMessage Function - by Spunky on 08-09-2009 at 11:46 PM
RE: SendMessage Function - by Lén on 08-10-2009 at 02:23 AM
RE: SendMessage Function - by Spunky on 08-10-2009 at 09:16 AM
RE: SendMessage Function - by Lén on 08-10-2009 at 12:02 PM
RE: SendMessage Function - by Mnjul on 08-10-2009 at 12:28 PM
RE: SendMessage Function - by Spunky on 08-10-2009 at 12:53 PM
RE: SendMessage Function - by Lén on 08-10-2009 at 07:49 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