What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » SendMessage doens't do anything

SendMessage doens't do anything
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: SendMessage doens't do anything
What happens if you uncomment all the commented lines and change the SendMessage text to something very short like "testx", and change the empty string from SetControlText to something else like "test3" (to see if it realy changes the control text)?:
jscript code:
function OngetbackEvent_EditTextChanged(wnd,ic){
        var str =""+wnd.GetControlText(ic).toLowerCase();
        schermpje.SendMessage("test1");
        if(str.search("_")>=0){
                str = str.substring(0,str.length-1);
                if(str == "close"){
                        wnd.Close(36259)
                }else{
                        Debug.Trace("Handle: " + schermpje.Handle);
                        Debug.Trace("Allowed: " + schermpje.EditChangeAllowed);
                        Debug.Trace("SendMsg: " + schermpje.SendMessage("test2"));
                        Debug.Trace("str: "+str);
                        wnd.SetControlText("txtje","test3")
                }
        }
}

This post was edited on 10-06-2009 at 11:04 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-06-2009 10:53 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
SendMessage doens't do anything - by foaly on 10-05-2009 at 03:38 PM
RE: SendMessage doens't do anything - by matty on 10-05-2009 at 04:38 PM
RE: SendMessage doens't do anything - by foaly on 10-06-2009 at 05:44 AM
RE: SendMessage doens't do anything - by CookieRevised on 10-06-2009 at 06:03 AM
RE: SendMessage doens't do anything - by foaly on 10-06-2009 at 06:36 AM
RE: SendMessage doens't do anything - by CookieRevised on 10-06-2009 at 10:53 AM
RE: SendMessage doens't do anything - by foaly on 10-06-2009 at 04:00 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