What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Cursor Position in Plus text boxes

Cursor Position in Plus text boxes
Author: Message:
win_crook
Junior Member
**


Posts: 63
Reputation: 2
31 / Male / Flag
Joined: Apr 2007
O.P. RE: Cursor Position in Plus text boxes
Well I've figured out the EM_GETSEL message and it's working fine now. I'm onto the string processing part now, and I'm getting this error:

quote:
Error: Object doesn't support this property or method.
       Line: 40. Code: -2146827850.


This is the code, the middle line is line 40:
code:
var text = Wnd.GetControlText("NameEdit");
var firstHalf = text.substring(0, Start);
var secondHalf = text.substring(Start, before.length);


I'm assuming it's talking about the substring method, but I don't see why it's saying it's unsupported... any ideas?

Thanks,
David
04-08-2007 12:00 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Cursor Position in Plus text boxes - by win_crook on 04-07-2007 at 05:47 PM
RE: Cursor Position in Plus text boxes - by Patchou on 04-07-2007 at 06:04 PM
RE: Cursor Position in Plus text boxes - by win_crook on 04-07-2007 at 06:21 PM
RE: RE: Cursor Position in Plus text boxes - by felipEx on 04-07-2007 at 08:48 PM
RE: Cursor Position in Plus text boxes - by win_crook on 04-08-2007 at 12:00 PM
RE: Cursor Position in Plus text boxes - by effection on 04-08-2007 at 12:32 PM
RE: Cursor Position in Plus text boxes - by win_crook on 04-08-2007 at 12:36 PM
RE: Cursor Position in Plus text boxes - by matty on 04-08-2007 at 02:44 PM
RE: Cursor Position in Plus text boxes - by win_crook on 04-08-2007 at 02:49 PM
RE: Cursor Position in Plus text boxes - by Felu on 04-08-2007 at 03:41 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