What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Skinning » 2009, change window colors of conversations

Pages: (3): « First [ 1 ] 2 3 » Last »
2009, change window colors of conversations
Author: Message:
-Buffy
Junior Member
**


Posts: 33
Joined: Jul 2006
O.P. 2009, change window colors of conversations
i am using 2009 and i like the normal skin but: the people that use an old version are all blue windows.. can i change that?
03-11-2009 09:52 PM
Profile E-Mail PM Find Quote Report
djdannyp
Elite Member
*****

Avatar
Danny <3 Sarah

Posts: 3546
Reputation: 31
38 / Male / Flag
Joined: Mar 2006
RE: 2009, change window colors of conversations
No, the colour of the conversation window relates to the colour of the other person's messenger.

If they change their messenger colour to something else (even if they're using 8.5) it will change the colour of the conversation window
[Image: 1ftt0hpk-signature.png]
AutoStatus Script || Facebook Status Script
5429 days, 22 hours, 42 minutes, 11 seconds ago
03-11-2009 09:58 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: 2009, change window colors of conversations
You can still do it.

js code:
var oDirectUIDefaultColour = 0x891C;
var oDirectUIStatusColour9 = {
                             1 : oDirectUIDefaultColour+11,    // offline
                             3 : oDirectUIDefaultColour+10,  // online
                             4 : oDirectUIDefaultColour+5,  // busy
                             5 : oDirectUIDefaultColour+4,  // away
                             6 : oDirectUIDefaultColour+4,  // away
                             7 : oDirectUIDefaultColour+4,  // away
                             8 : oDirectUIDefaultColour+5,  // busy
                             9 : oDirectUIDefaultColour+4   // away
                            }

function OnEvent_Initialize(bMessengerStart) {
    OnEvent_SigninReady();
}

function OnEvent_SigninReady(sEmail) {
    if (Messenger.MyStatus === 0) return;
    for (var oChatWnd = new Enumerator(Messenger.CurrentChats); !oChatWnd.atEnd(); oChatWnd.moveNext()) {
        OnEvent_ChatWndCreated(oChatWnd.item());
    }
}

function OnEvent_ChatWndCreated(pChatWnd) {
    if (pChatWnd.Contacts.Count !== 1) return;
    for (var oContact = new Enumerator(pChatWnd.Contacts); !oContact.atEnd(); oContact.moveNext()) {
        Interop.Call('user32', 'SendMessageW', pChatWnd.Handle, 0x111 /* WM_COMMAND */, oDirectUIStatusColour9[oContact.item().Status], 0);
    }
}

function OnEvent_ChatWndDestroyed(pChatWnd) {
    Interop.Call('user32', 'SendMessageW', pChatWnd.Handle, 0x111 /* WM_COMMAND */, oDirectUIDefaultColour, 0);
}

function OnEvent_ContactStatusChange(sEmail, nNewStatus) {
    for (var oChatWnd = new Enumerator(Messenger.CurrentChats); !oChatWnd.atEnd(); oChatWnd.moveNext()) {
        if (oChatWnd.item().Contacts.GetContact(sEmail) != null) {
            Interop.Call('user32', 'SendMessageW', oChatWnd.item().Handle, 0x111 /* WM_COMMAND */, oDirectUIStatusColour9[nNewStatus], 0);
        }
    }
}

function OnEvent_ContactSignout(sEmail) {
    OnEvent_ContactStatusChange(sEmail, 1);
}

function OnEvent_ContactSignin(sEmail) {
    OnEvent_ContactStatusChange(sEmail, Messenger.MyContacts.GetContact(sEmail).Status);
}
03-11-2009 10:02 PM
Profile E-Mail PM Find Quote Report
-Buffy
Junior Member
**


Posts: 33
Joined: Jul 2006
O.P. RE: 2009, change window colors of conversations
thank you so much:$ now i feel stupid, can you tell me where i add this or where i can read how to do it? that would be so kind, and cool! thanks... buffy
03-11-2009 10:14 PM
Profile E-Mail PM Find Quote Report
djdannyp
Elite Member
*****

Avatar
Danny <3 Sarah

Posts: 3546
Reputation: 31
38 / Male / Flag
Joined: Mar 2006
RE: 2009, change window colors of conversations
Download this attachment and double click it

It will change the colour of the conversation window to match the status of the contact.......pale green for available, pale yellow for away, pale red for busy, etc

.plsc File Attachment: Conversation Colours.plsc (1.26 KB)
This file has been downloaded 271 time(s).
[Image: 1ftt0hpk-signature.png]
AutoStatus Script || Facebook Status Script
5429 days, 22 hours, 42 minutes, 11 seconds ago
03-11-2009 10:43 PM
Profile E-Mail PM Find Quote Report
-Buffy
Junior Member
**


Posts: 33
Joined: Jul 2006
O.P. RE: 2009, change window colors of conversations
ah, thats cute, but i dont really like this pale;) thank you so much thou ill keep it till i find something else...
03-11-2009 10:55 PM
Profile E-Mail PM Find Quote Report
djdannyp
Elite Member
*****

Avatar
Danny <3 Sarah

Posts: 3546
Reputation: 31
38 / Male / Flag
Joined: Mar 2006
RE: 2009, change window colors of conversations
well i like it...i'm using it right now!

cheers matty
[Image: 1ftt0hpk-signature.png]
AutoStatus Script || Facebook Status Script
5429 days, 22 hours, 42 minutes, 11 seconds ago
03-11-2009 11:02 PM
Profile E-Mail PM Find Quote Report
-Buffy
Junior Member
**


Posts: 33
Joined: Jul 2006
O.P. RE: 2009, change window colors of conversations
i lost track, is that script from matty the same thing then the skript you posted dj? can i change the colors used for every status?
03-11-2009 11:04 PM
Profile E-Mail PM Find Quote Report
djdannyp
Elite Member
*****

Avatar
Danny <3 Sarah

Posts: 3546
Reputation: 31
38 / Male / Flag
Joined: Mar 2006
RE: RE: 2009, change window colors of conversations
quote:
Originally posted by -Buffy
i lost track, is that script from matty the same thing then the skript you posted dj? can i change the colors used for every status?

yes, i just packed the script up so it was easier for you to install.

if you understand the code you can change the colours to whatever you want using the bits at the top
[Image: 1ftt0hpk-signature.png]
AutoStatus Script || Facebook Status Script
5429 days, 22 hours, 42 minutes, 11 seconds ago
03-11-2009 11:07 PM
Profile E-Mail PM Find Quote Report
-Buffy
Junior Member
**


Posts: 33
Joined: Jul 2006
O.P. RE: 2009, change window colors of conversations
ah sweet! so the colors are 4 5 10 and 11? and ill just change them? ill go ahead and try that...
03-11-2009 11:19 PM
Profile E-Mail 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