What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Keeping chat sessions open forever

Keeping chat sessions open forever
Author: Message:
sock
Elite Member
*****

Avatar
Back in White! (with red stripes)

Posts: 1112
Reputation: 31
37 / Male / Flag
Joined: Nov 2002
Status: Away
O.P. Keeping chat sessions open forever
Say I wanted to keep a chat session alive forever (don't ask why :chrongue:). How would I do that exactly? (-:

I obviously need to send some data to the remote contact every now and then. I managed to do this by sending some meaningless message. (Well, I made dt write the initial code. :$) That works great, but it's rather annoying to send random messages all the time. I want to send some other traffic that is less obtrusive.

The obvious solution is sending an artificial "user is typing" thingie. So I tried modifying "wnd.EditText" to simulate typing, but realized that it bypasses Messenger's keyboard input detection, and thus doesn't work. (I just found out that someone else has tried it too and failed.)

So what do I do? :cry: Any help will be much appreciated. (&)

Thanks! :zippy:


This post was edited on 06-15-2007 at 02:10 AM by sock.
[Image: patchoulolhaxun7.jpg]
06-15-2007 02:10 AM
Profile E-Mail PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
33 / Male / Flag
Joined: Mar 2004
RE: Keeping chat sessions open forever
dt made what now? :P
[Image: dt2.0v2.png]      Happy Birthday, WDZ
06-15-2007 02:19 AM
Profile PM Web Find Quote Report
sock
Elite Member
*****

Avatar
Back in White! (with red stripes)

Posts: 1112
Reputation: 31
37 / Male / Flag
Joined: Nov 2002
Status: Away
O.P. RE: Keeping chat sessions open forever
Err... what? o_O Wasn't my original post clear enough? :P

Why are you asking me questions, I'm the one who needs help here! :'(
[Image: patchoulolhaxun7.jpg]
06-15-2007 02:35 AM
Profile E-Mail PM Find Quote Report
sock
Elite Member
*****

Avatar
Back in White! (with red stripes)

Posts: 1112
Reputation: 31
37 / Male / Flag
Joined: Nov 2002
Status: Away
O.P. RE: Keeping chat sessions open forever
... So I managed to get this far:
code:
var hWnd = wnd.Handle;
var WM_CHAR = 0x102;
var dot = 0x2E;

Interop.Call("user32", "SendMessage", hWnd, WM_CHAR, dot, 0);
Does anyone happen know why it isn't doing anything? :'(

This post was edited on 06-18-2007 at 04:43 AM by sock.
[Image: patchoulolhaxun7.jpg]
06-15-2007 09:08 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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