What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQUEST] Text finder

[REQUEST] Text finder
Author: Message:
TomFletcher
New Member
*


Posts: 3
31 / Male / Flag
Joined: Jan 2009
RE: [REQUEST] Text finder
If somebody knows a way to find out the font of the contact like Spunky says, I've come up with a script to set it:

code:
var WshShellObj = new ActiveXObject("WScript.Shell");
var fontToSet = 'Arial';

function changeFont(ChatWnd)
{
    MsgPlus.AddTimer('setFont', 500);
    Interop.Call('user32', 'SendMessageW', ChatWnd.Handle , 0x0111, 40211, 0);
}

function OnEvent_Timer(TimerId)
{
    WshShellObj.SendKeys(fontToSet + '{ENTER}');
}


It's the only method I could come up with and it displays the font window for a split second - maybe it would inspire somebody.
I'm quite new to scripting.
01-08-2009 08:14 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[REQUEST] Text finder - by activatedclone on 10-13-2008 at 03:54 AM
RE: [REQUEST] Text finder - by davidpolitis on 10-13-2008 at 09:51 AM
RE: [REQUEST] Text finder - by activatedclone on 10-13-2008 at 11:32 AM
RE: [REQUEST] Text finder - by davidpolitis on 10-13-2008 at 11:33 AM
RE: [REQUEST] Text finder - by Spunky on 10-13-2008 at 01:31 PM
RE: [REQUEST] Text finder - by activatedclone on 10-13-2008 at 11:25 PM
RE: [REQUEST] Text finder - by TomFletcher on 01-08-2009 at 08:14 PM
RE: [REQUEST] Text finder - by Spunky on 01-09-2009 at 03:41 PM
RE: [REQUEST] Text finder - by TomFletcher on 01-09-2009 at 04:16 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