Counter by the messages |
Author: |
Message: |
mathieumg
Full Member
Posts: 181 Reputation: 2
35 / /
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 |
|
|
qgroessl
Veteran Member
Posts: 1615 Reputation: 22
33 / – /
Joined: Jul 2005
Status: Away
|
RE: Counter by the messages
Okay... thanks... cause I didn't really feel like taking the chance... 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 |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
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... 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
|
|
06-26-2006 02:11 PM |
|
|
qgroessl
Veteran Member
Posts: 1615 Reputation: 22
33 / – /
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 |
|
|
Voldemort
Veteran Member
Posts: 3504 Reputation: 49
– / – /
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!
|
|
06-26-2006 04:48 PM |
|
|
qgroessl
Veteran Member
Posts: 1615 Reputation: 22
33 / – /
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 |
|
|
Thargor
New Member
Dark Phoenix
Posts: 3
34 / / –
Joined: Jun 2006
|
RE: Counter by the messages
hehe, lol. Nice script. But useless indeed, like said before
I can change one note and make you cry.
|
|
06-26-2006 06:09 PM |
|
|
qgroessl
Veteran Member
Posts: 1615 Reputation: 22
33 / – /
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 |
|
|
Thargor
New Member
Dark Phoenix
Posts: 3
34 / / –
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.
I can change one note and make you cry.
|
|
06-27-2006 10:13 AM |
|
|
The_Joker
Full Member
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 |
|
|
Pages: (3):
« First
«
1
[ 2 ]
3
»
Last »
|
|