Shoutbox

Recognising messages - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: Recognising messages (/showthread.php?tid=45048)

Recognising messages by void brain() on 05-20-2005 at 10:32 PM

I would like to know how to recognise messages (such as that in a bot or a plugin for commands) through an MSN conversation window in C++.
  I've read through the Messenger API documentation but I havn't really found anything to to with messages...if I have, I've overlooked it :P

Can anyone help?


RE: Recognising messages by RaceProUK on 05-20-2005 at 11:55 PM

You'll have to go deeper than the Messenger API to get messages. I recommend you look at MSDN's documentation on Active Accessibility, especially:
- SetWinEventHook
- UnhookWinEvent
- AccessibeObjectFromEvent


RE: Recognising messages by void brain() on 05-21-2005 at 09:38 AM

Right, thanks. It's a shame there isn't a part of the MSN API for it, though.

Ah well, can't win em all.


RE: Recognising messages by mrhuge on 05-21-2005 at 12:14 PM

BotDK allows you to intercept all incoming and outgoing messages :).


RE: Recognising messages by RaceProUK on 05-21-2005 at 01:48 PM

It'd be a good idea to use BotDK to get the basics working, then when you're ready, learn Active Accessibility.