Shoutbox

[REQUEST] Message Counter on the bar - 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)
+----- Thread: [REQUEST] Message Counter on the bar (/showthread.php?tid=78568)

[REQUEST] Message Counter on the bar by Firehalk on 10-31-2007 at 07:17 PM

I think the attachment say everything.

A counter of unread messages, of each contact.

Is that possible/easy?

When you open that convo, it simply erases the number.


RE: [REQUEST] Message Counter on the bar by RaceProUK on 10-31-2007 at 09:42 PM

Unread messages they've sent you? If so, it shouldn't be too difficult.


RE: [REQUEST] Message Counter on the bar by markee on 10-31-2007 at 10:51 PM

The only problem with scripts is that there is no easy way to get the event that a chat window is focused.  Putting the number in the title for the window isn't difficult (I think Cookie has some code lying around on the forum to do that) but it is just getting that event, we don't want to be using heaps of CPU checking that it is the top window either.  Maybe if someone made a COM object to go along with this you might be in some luck but apart from that it would have to rely on timers (though I guess a 500ms timer isnt that bad to check for forgrounding of the window.....)


RE: RE: [REQUEST] Message Counter on the bar by Firehalk on 11-01-2007 at 12:28 PM

quote:
Originally posted by RaceProUK
Unread messages they've sent you? If so, it shouldn't be too difficult.

It's exactly that.

Well, I don't really understand about programming scripts (I know just a little about Javascript).

Markee, you mean that change the window's title is no difficult at all, but capturing the focus on that window (event) is the though part?

Anyway, hope someone that understand much more than me will be able to create such a thing. It's really, really nice feature/script!