What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Nickname highlight

Nickname highlight
Author: Message:
Johnny09
New Member
*


Posts: 13
Joined: Sep 2008
O.P. RE: Nickname highlight
yeah, regexp is also a good solution,
thought to use also a reg.expression but at this time ive had a blackout and have forgotten that "new RegExp()" exists ... :P

i have another question,
on highlighting, a message (ToastContact) appears ...

can we handle it like this, when you click on that message, the window where they highlighted your name opens at the same time? (set a focus on that msn window).


// Edit
found something nice on the web

....
MsgPlus.DisplayToastContact("Highlighter", "[c=#3682B4]Highlight[/c]", "'"+ucfirst(highwords[i])+"' has been mentioned by: " + MsgPlus.RemoveFormatCodes(contact.Name), null, "focusMyWin", ChatWnd.Handle);
...

code:
function focusMyWin (dow) {
    Interop.Call('User32','OpenIcon', dow);
    Interop.Call('User32','BringWindowToTop', dow);
    Interop.Call('User32','SetForegroundWindow', dow);
    Interop.Call('User32','ShowWindow', dow, 1);
    Interop.Call('User32','SwitchToThisWindow', dow, "FALSE");
}

This post was edited on 10-03-2008 at 05:47 PM by Johnny09.
10-03-2008 05:26 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Nickname highlight - by Johnny09 on 09-28-2008 at 04:02 PM
RE: Nickname highlight - by Spunky on 09-28-2008 at 05:53 PM
RE: Nickname highlight - by markee on 09-29-2008 at 11:01 AM
RE: Nickname highlight - by Spunky on 09-29-2008 at 11:05 AM
RE: Nickname highlight - by markee on 09-29-2008 at 11:22 AM
RE: Nickname highlight - by Spunky on 09-29-2008 at 03:34 PM
RE: Nickname highlight - by Johnny09 on 10-03-2008 at 05:26 PM


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