What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Parse incoming text

Parse incoming text
Author: Message:
Isaacariah
New Member
*


Posts: 3
36 / Male / –
Joined: Dec 2004
O.P. Parse incoming text
Hi there, I'm writing a plugin just for educational and experimental purposes in VB6, and I was wondering, how would I go about getting text that other users send to me, for the purpose of parsing it and sending something back?

I thought at first maybe the ReceiveNotify function, but obviously not, as I've tried a lot of things with this function.

If anybody has any ideas or can point me in the right direction, it would be appreciated.

Thanks in advance

Isaac(Y)
12-23-2004 04:01 PM
Profile E-Mail PM Find Quote Report
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
RE: Parse incoming text
i dont think you can do this. you can get your plugin to send a special 5 char code which you can parse but both sides must have the plugin.

This post was edited on 12-23-2004 at 04:13 PM by Ash_.
[Image: jeansiger5.jpg]
12-23-2004 04:12 PM
Profile PM Find Quote Report
saralk
Veteran Member
*****

Avatar

Posts: 2598
Reputation: 38
35 / Male / Flag
Joined: Feb 2003
RE: Parse incoming text
YOu cant do this with the Messenger PLus! API itself, but you could do it by hooking directly on to MSN MEssenger
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
12-23-2004 06:09 PM
Profile PM Find Quote Report
Isaacariah
New Member
*


Posts: 3
36 / Male / –
Joined: Dec 2004
O.P. RE: Parse incoming text
Hm, how would I go about doing this in VB? I mean there is the messenger API but its a pile of **** and another way I've read is actually using SendMessage() and that lot to open the property pages themselves and then change the textbox then press the ok button, all a bit far fetched really... if Messenger Plus can do it silently without opening any bloody property pages... so can I.

Can anyone point me in the right direction?
12-23-2004 06:52 PM
Profile E-Mail PM Find Quote Report
TheBlasphemer
Senior Member
****

Avatar

Posts: 714
Reputation: 47
36 / – / –
Joined: Mar 2004
RE: Parse incoming text
I can tell you right now that in VB, it's impossible...
Even in C/C++ this is tricky, and you really need to know what you're doing.
copy-pasting some code is out of the question on this matter :P
[Image: theblasp.png]
12-23-2004 07:13 PM
Profile PM Find Quote Report
Isaacariah
New Member
*


Posts: 3
36 / Male / –
Joined: Dec 2004
O.P. RE: Parse incoming text
Guess I'm stuffed then.. unless I can find a DLL or whatnot that I can use from within VB.

Thanks anyway guys.. maybe this feature will be implemented in the future of the Messenger Plus API. *hint hint* :)


Thanks again


Isaac
12-23-2004 07:18 PM
Profile E-Mail PM Find Quote Report
Kirill
New Member
*


Posts: 9
37 / Male / –
Joined: Dec 2004
RE: Parse incoming text
Heh, I'm quite sure you can do this in VB, also. I doubt it has anything to do with anything people have said thus far.

Indeed, what I think could "theoretically" work, is you can look at the export table of RichEditHook.dll or whatever DLL Messenger Plus! uses, and then implement the appropriate function. If my guess is correct, it'll end up calling your function that handles incoming messages, instead of theirs.

In addition, you can launch another thread from your plugin that will constantly probe the conversation text for changes, and when some text arrives, you can figure out what it is by taking a diff -- unfortunately this is the filthiest approach of all.

I am actually trying to think of a better way to do this myself for my plugin, but unfortunately it seems like I won't be able to write any code for this particular cause until the end of the weekend, or maybe the beginning of it, since I'm summoned to write code somewhere else.

Good luck, and keep the noodle a-fryin'.
12-23-2004 10:38 PM
Profile E-Mail PM Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
31 / Male / Flag
Joined: Mar 2003
RE: Parse incoming text
quote:
Originally posted by TheBlasphemer
I can tell you right now that in VB, it's impossible...
Actually I believe, you can do it in VB with packet sniffing...
But, to use packet sniffing, you have to keep a form open and pass its hWnd so windows pass the messages there... :(
But I don't know how to use packet sniffing in vb...
YouTube closed-captions ripper (also allows you to download videos!)
12-24-2004 06:19 AM
Profile E-Mail PM Web 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