What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Detecting when message is being sent

Detecting when message is being sent
Author: Message:
qwende
New Member
*


Posts: 3
Joined: Jan 2006
O.P. Detecting when message is being sent
I know it's possible to intercept commands (like /xcrypt or something like that) using the available API set, but what I would like to know is how to simply intercept and outgoing message so that I may do something to it (I don't want to the user to constantly have to type the command in for my module to work). To what event should I register in the Messenger model to get notified when a message is being sent?

If this question would be better asked elsewhere, please let me know.

Ben
01-24-2006 07:39 PM
Profile E-Mail PM Find Quote Report
Kryptonate
Veteran Member
*****

Avatar

Posts: 2874
Reputation: 23
37 / Male / –
Joined: Jun 2003
RE: Detecting when message is being sent
Can't you make it respond when the user presses the Send button or Enter? That's a way of knowing it I would think.
01-24-2006 07:46 PM
Profile E-Mail PM Find Quote Report
qwende
New Member
*


Posts: 3
Joined: Jan 2006
O.P. RE: Detecting when message is being sent
"Can't you make it respond when the user presses the Send button or Enter?"

Yes, I suppose I could detect the Enter key, but the work needed to sink the button click would be more than I would think necessary for such a simple task (unless there's a particular bit about sinking the button click than I'm missing).

There isn't anything in the eventing structure of messenger to do this? I'm surpised that I haven't found anything in the docs I've read...
01-24-2006 08:08 PM
Profile E-Mail PM Find Quote Report
Kryptonate
Veteran Member
*****

Avatar

Posts: 2874
Reputation: 23
37 / Male / –
Joined: Jun 2003
RE: Detecting when message is being sent
what language are you working in?
01-24-2006 08:41 PM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Detecting when message is being sent
quote:
Originally posted by qwende
Yes, I suppose I could detect the Enter key, but the work needed to sink the button click would be more than I would think necessary for such a simple task (unless there's a particular bit about sinking the button click than I'm missing).
You'll be in for a lot of work anyway, because fetching the message that is sent needs the use of the Active Accessibility API.
[Image: spartaafk.png]
01-25-2006 02:05 PM
Profile PM Web Find Quote Report
qwende
New Member
*


Posts: 3
Joined: Jan 2006
O.P. RE: Detecting when message is being sent
How will the Active Accessibility API help me?
01-25-2006 04:33 PM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Detecting when message is being sent
quote:
Originally posted by raceprouk
fetching the message that is sent needs the use of the Active Accessibility API.
[Image: spartaafk.png]
01-26-2006 03:40 PM
Profile 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