Is this one what you want?
This code makes all your IM window goes like this..
name - conversation
ame - conversation - n
me - conversation - na
e - conversation - nam
and so on....
code:
function OnEvent_Initialize(MessengerStart)
{
}
function OnEvent_Uninitialize(MessengerExit)
{
}
var pst = {};
// Yay!!! My first time to Win32API!!!
function dowith( w ) {
if (typeof pst[w.Handle] == 'undefined') {
var wb = Interop.Allocate(512);
Interop.Call('user32.dll', 'GetWindowTextW', w.Handle, wb.DataPtr, 512)
pst[w.Handle] = [0, wb.ReadString(0, true)];
wb.Size = 0;
} else {
if (pst[w.Handle][0] > pst[w.Handle][1].length)
pst[w.Handle][0] = 0;
var fs = pst[w.Handle][0];
var tx = pst[w.Handle][1];
Interop.Call('user32.dll', 'SetWindowTextW', w.Handle, tx.substr(fs) + ' - ' + tx.substr(0, fs))
pst[w.Handle][0] ++;
}
}
function OnEvent_Timer( x ) {
var cc = Messenger.CurrentChats;
var e = new Enumerator(cc);
var w;
for(; !e.atEnd(); e.moveNext()) {
w = e.item();
dowith ( w );
}
MsgPlus.AddTimer ('scrollcontacts', 150);
}
Debug.DebuggingWindowVisible = true;
MsgPlus.AddTimer ('scrollcontacts', 200);