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
30 / Male / Flag
Joined: Jan 2009
RE: [REQUEST] Text finder
Thats because i made it to be called. Maybe something like this?

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

function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
    fontToSet = 'Arial';
    changeFont(ChatWnd);
}

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

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


I see your point with the SendKeys though (i think there's a WM_SETTEXT message that could be used, but I couldnt work it out), and if the font isn't installed.
01-09-2009 04:16 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