What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Pseudo Etape Version Fr [Need Help]

Pseudo Etape Version Fr [Need Help]
Author: Message:
D3BuGgeR
New Member
*

Avatar

Posts: 3
42 / Male / Flag
Joined: Jan 2008
O.P. Huh?  Pseudo Etape Version Fr [Need Help]
Hi men,

I need your help for my new script.

I don't know how i can get position end of Selected text in EditControl.

This is the code for get position start (Start.ReadDWORD(0)):


code:
    // Two Win32 Messages that we will need to send later
    var EM_GETSEL = 0xB0;
    var EM_SETSEL = 0xB1;
    // Allocate some memory for the cursor index
    var Start = Interop.Allocate(4);

    // Get where the cursor is in the input box
    Interop.Call("user32", "SendMessageW", PanelPseudo.GetControlHandle("pseudo"), EM_GETSEL, Start, 0);

    var text = PanelPseudo.GetControlText("pseudo");
    var firstHalf = text.substring(0, Start.ReadDWORD(0));
    var secondHalf = text.substring(Start.ReadDWORD(0), text.length);

But How can i get End selection??

You can find my script in attachment and 2 pictures of Pseudo Etape.

For info, when this script is running, it change your nick  by a nick step, understand?

[Image: My_Screenshot_61.jpg][Image: My_Screenshot_62.jpg]

Thanks for your Answer and sorry for my english..

.plsc File Attachment: PseudoEtape.plsc (129.09 KB)
This file has been downloaded 141 time(s).

This post was edited on 01-08-2008 at 09:44 AM by D3BuGgeR.
01-07-2008 10:45 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Pseudo Etape Version Fr [Need Help] - by D3BuGgeR on 01-07-2008 at 10:45 PM
RE: Pseudo Etape Version Fr [Need Help] - by D3BuGgeR on 01-08-2008 at 11:05 AM
RE: Pseudo Etape Version Fr [Need Help] - by Eljay on 01-08-2008 at 11:15 AM
RE: Pseudo Etape Version Fr [Need Help] - by D3BuGgeR on 01-08-2008 at 11:22 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