Matti
Elite Member
Script Developer and Helper
Posts: 1646 Reputation: 39
32 / /
Joined: Apr 2004
|
RE: change font colour in main msn window
Sure you can, by ResHacking msnmsgr.exe! That's some sort of skinning.
When you say
quote: Originally posted by the topic title
...in main msn window
I guess you're talking about the list where your contacts are in (note me if not). Here comes a small tutorial:
- Download and open Resource Hacker.
- Make sure MSN Messenger is completly closed, this means there's no MSN icon in the system tray anymore.
- In the menu, go to File > Open and browse to C:\Program Files\MSN Messenger\msnmsgr.exe.
- You'll now see a bunch of folders in the left panel. Dubble-click UIFILE and then 936.
- There, you can choose what to change. If you want to edit...
- ...the color of the contact's name: look at line 138 for
code: emoticontext[id=atom(buddyname)]
{
layoutpos:left;
fontweight:normal;
contentalign:bottomleft|endellipsis;
padding:rect(0,0,0,0);
richeditstyle:PlainText|HideSelection|DisableDrag|ReadOnly;
}
and add the following line to it:
code: emoticontext[id=atom(buddyname)]
{
layoutpos:left;
fontweight:normal;
contentalign:bottomleft|endellipsis;
padding:rect(0,0,0,0);
richeditstyle:PlainText|HideSelection|DisableDrag|ReadOnly;
foreground:rgb(r,g,b);
}
where r is the red amount, g is the green amount and b is the amount of blue.
- ...the color of the statusses: look at line 146 and change:
code: element[id=atom(buddystatus)]
{
layoutpos:left;
fontweight:normal;
foreground:graytext;
contentalign:middleleft|endellipsis;
padding:rect(0,0,0,0);
}
element[id=atom(buddystatus)][dropfocus]
{
foreground:rgb(255,128,0);
}
to:
code: element[id=atom(buddystatus)]
{
layoutpos:left;
fontweight:normal;
foreground:rgb(r,g,b);
contentalign:middleleft|endellipsis;
padding:rect(0,0,0,0);
}
element[id=atom(buddystatus)][dropfocus]
{
foreground:rgb(r,g,b);
}
again with r, g, b representing their respective color amounts.
- ...the color of the personal messages: look at line 168 and change:
code: emoticontext[id=atom(idPSMText)]
{
layoutpos:left;
fontweight:normal;
fontstyle:rcint(2007);
foreground:windowtext;
contentalign:bottomleft|endellipsis;
padding:rect(1,0,2,0);
richeditstyle:PlainText|HideSelection|DisableDrag|ReadOnly;
}
emoticontext[id=atom(idPSMText)][selected]
{
foreground:ifhc(highlighttext,black);
}
emoticontext[id=atom(idPSMText)][dropfocus]
{
foreground:rgb(255,128,0);
}
to:
code: emoticontext[id=atom(idPSMText)]
{
layoutpos:left;
fontweight:normal;
fontstyle:rcint(2007);
foreground:rgb(r,g,b);
contentalign:bottomleft|endellipsis;
padding:rect(1,0,2,0);
richeditstyle:PlainText|HideSelection|DisableDrag|ReadOnly;
}
emoticontext[id=atom(idPSMText)][selected]
{
foreground:rgb(r,g,b);
}
emoticontext[id=atom(idPSMText)][dropfocus]
{
foreground:rgb(r,g,b);
}
with the same thing for r, g and b.
- When you're finished editting, press Compile Script and then go File > Save to save your changes. Now run MSN Messenger and see what happened!
I hope that helped.
This post was edited on 05-21-2006 at 06:47 AM by Matti.
|
|