What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] how to find character..

[?] how to find character..
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [?] how to find character..
If we give you the code how will you learn... atleast attempt to do it.

You barely attempt anything and just ask for it. How about you you try and post what you try and we will correct it.

I will get you started

Wrong Function.

code:
var EM_POSFROMCHAR = 0xF0D6;
var POINTL = Interop.Allocate(8);
Interop.Call('user32',
             'SendMessageW',
             pPlusWnd.GetControlHandle('txtMyEditControl'),
             EM_POSFROMCHAR,
             POINTL.DataPtr,
             0);
// Specifies the horizontal (x) coordinate of the point.
Debug.Trace('POINTL.ReadDWORD(0) : '+POINTL.ReadDWORD(0));
//Specifies the vertical (y) coordinate of the point.
Debug.Trace('POINTL.ReadDWORD(4) : '+POINTL.ReadDWORD(4));


You can use String('Hello').indexOf('l');

This post was edited on 12-11-2006 at 12:29 AM by matty.
12-11-2006 12:16 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] how to find character.. - by roflmao456 on 12-10-2006 at 11:48 PM
RE: [?] how to find character.. - by matty on 12-10-2006 at 11:51 PM
RE: RE: [?] how to find character.. - by roflmao456 on 12-10-2006 at 11:52 PM
RE: [?] how to find character.. - by matty on 12-10-2006 at 11:56 PM
RE: [?] how to find character.. - by roflmao456 on 12-10-2006 at 11:59 PM
RE: [?] how to find character.. - by matty on 12-11-2006 at 12:16 AM
RE: [?] how to find character.. - by Spunky on 12-11-2006 at 12:23 AM
RE: [?] how to find character.. - by CookieRevised on 12-11-2006 at 01:51 AM


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