What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [request]Key press notifier

[request]Key press notifier
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [request]Key press notifier
quote:
Originally posted by Jesus
I made a script like this a while ago.
It displays a toast when someone is typing to you and you don't have a conversation window open with that contact.
If you click the toast it will (ofcourse) open a convo with the contact.
(y)

though some notes:

1) The script has problems when you use polygamy. When a user has two messengers open this can easly be checked upon with:
code:
var Email = arrdata[1]; // index 12 should give the same email
if (Email !== Messenger.MyEmail) {
... do your stuff
}
2) You assume nick is always in the contactlist. This might not be so in a multi-contact conversation. So additional checking is required there too. Or don't grab the nickname from Messenger.MyContacts.GetContact(Email).Name but grab it from the protocol message directly (decodeURI(arrdata[2])).

3) the global array found isn't needed. The found variable can be a local boolean.

4) Although not so crucial in this script, you should be carefull in using timers like that. The timer will still be running when it was started right before the user signs out (and another one signs in). This makes that your array will be used for other users also and in some scripts (this one too, in a specific situation) this will lead to errors or even manipulation of the contactlist of the wrong user.

5) in ScriptInfo.xml: the ocx is a ActiveX DLL, this should be listed in <OleFiles>, not <DotNetFiles>.

;)

-------------------------





This is my version of the script, made from scratch but with your idea:

.plsc File Attachment: Notifier - Typing.plsc (273.82 KB)
This file has been downloaded 1017 time(s).

This post was edited on 11-21-2006 at 02:20 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-23-2006 07:41 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[request]Key press notifier - by blow on 10-20-2006 at 04:33 PM
RE: [request]Key press notifier - by Zahid™ on 10-20-2006 at 04:57 PM
RE: [request]Key press notifier - by CookieRevised on 10-20-2006 at 05:55 PM
RE: [request]Key press notifier - by blow on 10-20-2006 at 06:46 PM
RE: [request]Key press notifier - by CookieRevised on 10-21-2006 at 04:22 AM
RE: [request]Key press notifier - by blow on 10-21-2006 at 03:03 PM
RE: [request]Key press notifier - by Deco on 10-21-2006 at 04:04 PM
RE: [request]Key press notifier - by blow on 10-21-2006 at 06:47 PM
RE: [request]Key press notifier - by CookieRevised on 10-21-2006 at 07:04 PM
RE: [request]Key press notifier - by blow on 10-21-2006 at 07:12 PM
RE: [request]Key press notifier - by Jesus on 10-23-2006 at 09:25 AM
RE: [request]Key press notifier - by Jimbo on 10-23-2006 at 09:34 AM
RE: [request]Key press notifier - by Jesus on 10-23-2006 at 11:53 AM
RE: [request]Key press notifier - by Jimbo on 10-23-2006 at 12:50 PM
RE: [request]Key press notifier - by CookieRevised on 10-23-2006 at 07:41 PM
RE: RE: [request]Key press notifier - by Jesus on 10-24-2006 at 01:04 AM


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