Shoutbox

Own status change notification - 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: Own status change notification (/showthread.php?tid=23372)

Own status change notification by Kapil on 04-06-2004 at 01:11 AM

Can somebody post a snippet to show me how to be notified when the user changes his status? As in, I want my plugin to react whenever I change my status to busy/whatever.
I want a snippet cause I don't know enough about COM to figure it out by myself. Any help would be appreciated.


RE: Own status change notification by martin on 04-06-2004 at 05:31 AM

Dempsey made/making a little proggy that popups a little dialog box on status change, if that wut your wanting u could probaly ask him how he made it.


RE: Own status change notification by Kapil on 04-06-2004 at 03:35 PM

You don't get. I want to be notified when my own status changes, as in, I want to know how to detect when I set my status to away or busy or whatever, and react to it in my code. Dempsey's plugin reacts when somebody else's status changes, though that's not what I want.


RE: Own status change notification by kao on 04-06-2004 at 05:07 PM

i thought you'd usually know when you changed your status :undecided: i doubt it'd be hard for someone to code as a plugin... but who would actually use it? :S


RE: Own status change notification by Kapil on 04-06-2004 at 08:23 PM

Hehehe don't you understand the possibilities? My plugin is a bot which is activated whenever you set your status to away. That's the use. Anyone? Any suggestions? Maybe Patchou? You're god, by the way.


RE: Own status change notification by Kapil on 04-06-2004 at 08:25 PM

That's the reason I need a snippet, I have all the bot functions complete (it's got a neat little menu and commands which are activated when people send you messages), I just need to know how to know when the user's status is changed.


RE: Own status change notification by Sk3tch on 04-06-2004 at 08:25 PM

is this in vb? If so just use the onmystatuschange event :P


RE: Own status change notification by dotNorma on 04-06-2004 at 09:18 PM

code:
Private Sub MSN_Onmystatuschange()

But make sure you have "Set MSN = New Messenger"

Or you could change MSN on both of them
RE: Own status change notification by martin on 04-06-2004 at 09:35 PM

quote:
Originally posted by Kapil
Dempsey's plugin reacts when somebody else's status changes, though that's not what I want.
i was saying that it displays the box when I change my status.
RE: Own status change notification by Menthix on 04-06-2004 at 09:50 PM

I also recall that i saw a plugin which reads activities from the Event Log? The Event Log from Plus! also writes an event every time the current user itself changed his/her status, so you could maybe capture those to trigger your software's actions.


RE: Own status change notification by Sk3tch on 04-06-2004 at 10:05 PM

quote:
Originally posted by NoName
But make sure you have "Set MSN = New Messenger"

Or you could change MSN on both of them
And to Dim the msn event :P and also to set references :P
RE: Own status change notification by Kapil on 04-07-2004 at 01:55 AM

Nope, not VB, pure C++


RE: Own status change notification by Kapil on 04-07-2004 at 08:08 PM

Okay, so I snooped around and I got information on every Messenger COM object used. The problem now is, I downloaded msgrua.h and msgruaid.h, and I included them in my code, but the implementation is not there (it's on an idl). How do I import that idl? And does anyone have msgrua.idl?


RE: Own status change notification by RaceProUK on 07-21-2004 at 10:46 AM

You're actually looking for the type library.
Attached is all the stuff needed to use the Messenger API.