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
|