Javascript code:
function OnEvent_Initialize(bMessengerStart) { OnEvent_ContactListWndCreated(); }
function OnEvent_SigninReady(sEmail) { OnEvent_ContactListWndCreated(); }
function OnEvent_ContactListWndCreated() {
if (Messenger.ContactListWndHandle === 0) return;
var lpsz = Interop.Allocate(2*Messenger.MyEmail.length+2);
lpsz.WriteString(0, Messenger.MyEmail);
Interop.Call('user32', 'SendMessageW', Messenger.ContactListWndHandle, 0xC /* WM_SETTEXT */, 0, lpsz.DataPtr);
}
Wow I screwed that one up HUGE!
I had ChatListWndCreated not ContactListWndCreated...