What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Please Help ME..!!

Please Help ME..!!
Author: Message:
real_cute_boy
New Member
*


Posts: 10
Joined: Jul 2007
O.P. Please Help ME..!!
Hi people,
sorry if I'm going to bore you.. But i'm going to be crazy..

I want to use Enhancher scripts to permit my msn , to have on the tooltip area , near the icon of msn , my online list contacts.

So I try to modify , the code.. and as you can see i do this , exactly on the Preferences Area on the Save Settings:

******


var Contacts = Messenger.MyContacts;
var e = new Enumerator(Contacts);
var i;
var c;
i = 0;
var txxt  = new Array();
var tx;
var tx2;
for(; !e.atEnd(); e.moveNext())
     {
     var Contact = e.item();         
    if(Contact.Status != "1")
    {
    txxt[ i ] = Contact.Name;
    i = i + 1;
    }             
    }
     c = i;
     c = 0;
     Shell.RegWrite(registry + "NotificationAreaTooltip","", 'REG_SZ');
     while(c<i)
     {
      tx = txxt[ c ]
         c = c + 1;
      tx2 = Shell.RegRead(registry + "NotificationAreaTooltip") + tx + "\n";
        Shell.RegWrite(registry + "NotificationAreaTooltip", tx2 , 'REG_SZ');
    }
        Debug.Trace(Shell.RegRead(registry + "NotificationAreaTooltip"));


Well , If try to show the debug windows.. I notice that with
the line
        Debug.Trace(Shell.RegRead(registry + "NotificationAreaTooltip"));
I can see al the contacts , so it works.. But why at last, it doesn't write anything on the registry and aboveall in the tooltip doesn't appear nothing??

Can anyone help me..???

Thanks..

Ilario
07-24-2007 10:07 AM
Profile E-Mail PM Find Quote Report
Deco
Full Member
***


Posts: 188
Reputation: 4
42 / Male / Flag
Joined: Aug 2006
RE: Please Help ME..!!
Real_cute_boy,

Honestly I don't know where the tooltip information is stored and even if it is stored in the registry... the code below is just a cleaner/quicker version of your code with the proper registry address for the script's path in the registry and a proper declaring of the Shell object which wasn't declared in the code you sent. I'll leave it up to you to find where the tooltip info is found and correct the registry address.

code:
function OnEvent_Initialize(MessengerStart)
{
var Shell = new ActiveXObject("WScript.Shell");
var Contacts = Messenger.MyContacts;
var e = new Enumerator(Contacts);
Shell.RegWrite(MsgPlus.ScriptRegPath + "NotificationAreaTooltip","", 'REG_SZ');
for(; !e.atEnd(); e.moveNext())
{
    var Contact = e.item();
    if(Contact.Status != 1) {
        Shell.RegWrite(MsgPlus.ScriptRegPath+ "NotificationAreaTooltip", Shell.RegRead(MsgPlus.ScriptRegPath+ "NotificationAreaTooltip") + Contact.Name + "\n", 'REG_SZ');
    }
}
Debug.Trace(Shell.RegRead(MsgPlus.ScriptRegPath+ "NotificationAreaTooltip"));
}


Have fun!
07-24-2007 02:33 PM
Profile E-Mail PM Web Find Quote Report
real_cute_boy
New Member
*


Posts: 10
Joined: Jul 2007
O.P. RE: Please Help ME..!!
The problem I suppose is that size of the tooltip..Maybe there is a limit for it... Well , I hope someone can help me about it , where I  can find informations about tooltip , etc.?? And 'cause I'm here , I would like to know how is it possibile to change my msn skin.. There is a particular language or program for doing it? There are any guide??

Thanks a lot...

Ilario
07-25-2007 07:13 AM
Profile E-Mail PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: Please Help ME..!!
To change the tooltip you need to use Shell_NotifyIconW with the NOTIFYICONDATA structure

Shell_NotifyIcon msdn

NOTIFYICONDATA msdn

theres examples of this in the forums, just search :P
[Image: dt2.0v2.png]      Happy Birthday, WDZ
07-25-2007 07:27 AM
Profile PM Web Find Quote Report
« 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