What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Counter by the messages

Pages: (3): « First « 1 [ 2 ] 3 » Last »
Counter by the messages
Author: Message:
mathieumg
Full Member
***


Posts: 181
Reputation: 2
34 / Male / Flag
Joined: May 2004
RE: RE: Counter by the messages
quote:
Originally posted by UTI
I'm thinking only cause it writes in the registry?


Yeah, back when I had Norton I remember it disliked when writing in the registry using the Scriptshell object.
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
06-26-2006 01:51 PM
Profile E-Mail PM Web Find Quote Report
qgroessl
Veteran Member
*****


Posts: 1615
Reputation: 22
33 / – / Flag
Joined: Jul 2005
Status: Away
RE: Counter by the messages
Okay... thanks... cause I didn't really feel like taking the chance... :p Even though it was from a trusted source and all, better be safe then sorry is always smart.


and a quick question... Will this counter be seperate on different emails?... or will the number go up the same with whoevers on you're computer.

This post was edited on 06-26-2006 at 01:58 PM by qgroessl.
06-26-2006 01:53 PM
Profile PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Counter by the messages
quote:
Originally posted by UTI
Okay... thanks... cause I didn't really feel like taking the chance... :p Even though it was from a trusted source and all, better be safe then sorry is always smart.


and a quick question... Will this counter be seperate on different emails?... or will the number go up the same with whoevers on you're computer.

It has no support for multiple users, but it's easily added by making a subkey for every user, but don't feel like adding it right now.

Busy with work and some other scripts
[Image: 1-0.png]
             
06-26-2006 02:11 PM
Profile PM Web Find Quote Report
qgroessl
Veteran Member
*****


Posts: 1615
Reputation: 22
33 / – / Flag
Joined: Jul 2005
Status: Away
RE: Counter by the messages
code:
function OnEvent_Initialize(MessengerStart)
{
if (MessengerStart == false)
{
WriteRegistry("MessagesReceive", "0");
}
}

function OnEvent_ChatWndReceiveMessage(ChatWnd, Message)
{
value = ReadRegistry("MessagesReceive");
WriteRegistry("MessagesReceive", (parseInt(value) + 1));
Message = "( " + value + " ) " + Message;

return Message;
}

function WriteRegistry(key, value)
{
var Shell = new ActiveXObject("WScript.Shell");
var ValRegPath = MsgPlus.ScriptRegPath + key;
Shell.RegWrite(ValRegPath, value);
}

function ReadRegistry(key)
{
var Shell = new ActiveXObject("WScript.Shell");
return value = Shell.RegRead(MsgPlus.ScriptRegPath + key);
}

What's wrong with this code?... it's the same as Ezra's code exact, except for receiving messages... It'll count the recieving messages but then when I send messages, it is messed up.
06-26-2006 04:35 PM
Profile PM Find Quote Report
Voldemort
Veteran Member
*****

Avatar

Posts: 3504
Reputation: 49
– / – / Flag
Joined: Jul 2005
Status: Away
RE: Counter by the messages
:( The /me command does not work with Ezra's code :(
*All posts are a purely speculative hypothesis based on abstract reasoning.
Not my daughter, you bitch!
[Image: ico-mollytrix16.gif]
06-26-2006 04:48 PM
Profile E-Mail PM Find Quote Report
qgroessl
Veteran Member
*****


Posts: 1615
Reputation: 22
33 / – / Flag
Joined: Jul 2005
Status: Away
RE: Counter by the messages
Okay... since so many people post in so many threads this is almost on page 3... but yeah... What's wrong with the code that I posted (2 posts up).... try out yourself and see if it's jsut me, but it screws up the message I try and send....

ALSO if you can fix that it would be greatly appreciated... but is there a way to only display the count in my Msgplus! Chat logs?
06-26-2006 05:47 PM
Profile PM Find Quote Report
Thargor
New Member
*

Avatar
Dark Phoenix

Posts: 3
34 / Male / –
Joined: Jun 2006
RE: Counter by the messages
hehe, lol.  Nice script.  But useless indeed, like said before
[Image: Thargor.png]

I can change one note and make you cry.
06-26-2006 06:09 PM
Profile E-Mail PM Web Find Quote Report
qgroessl
Veteran Member
*****


Posts: 1615
Reputation: 22
33 / – / Flag
Joined: Jul 2005
Status: Away
RE: Counter by the messages
quote:
Originally posted by Thargor
hehe, lol.  Nice script.  But useless indeed, like said before

Some people do find thing others don't useful...
06-26-2006 07:52 PM
Profile PM Find Quote Report
Thargor
New Member
*

Avatar
Dark Phoenix

Posts: 3
34 / Male / –
Joined: Jun 2006
RE: Counter by the messages
Wasn't meant offending.  Just, now well, why you need it?   I mean, I don't need to know how much messages I sent already.
[Image: Thargor.png]

I can change one note and make you cry.
06-27-2006 10:13 AM
Profile E-Mail PM Web Find Quote Report
The_Joker
Full Member
***

Avatar
TF

Posts: 125
Joined: Oct 2005
RE: Counter by the messages
Is it just me or the ReadRegistry function doesn't work?
Anyone know how to fix it?
Messenger Plus! 3.61 unofficial Hebrew translator
Messenger Plus! Live unofficial Hebrew translator
06-27-2006 01:02 PM
Profile PM Find Quote Report
Pages: (3): « First « 1 [ 2 ] 3 » Last »
« 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