What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » HELP - Window control to Script Variable!

HELP - Window control to Script Variable!
Author: Message:
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
RE: HELP - Window ontrol to Script Variable!
jscript code:
var message;

function OnYourWindowIdEvent_CtrlClicked(objWnd, strControlId) {
    switch(strControlId) {
        case "BtnSave":
            message = objWnd.GetControlText("EdtMessage");
            MsgPlus.DisplayToast("Your script", message);
            // want to close the window? uncomment the following line
            // objWnd.Close(1);
            break;
    }
}
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
02-17-2009 12:41 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
HELP - Window control to Script Variable! - by whiz on 02-17-2009 at 12:30 PM
RE: HELP - Window ontrol to Script Variable! - by mynetx on 02-17-2009 at 12:41 PM
RE: HELP - Window control to Script Variable! - by whiz on 02-17-2009 at 01:46 PM
RE: HELP - Window control to Script Variable! - by matty on 02-17-2009 at 01:57 PM
RE: HELP - Window control to Script Variable! - by whiz on 02-18-2009 at 10:54 AM
RE: HELP - Window control to Script Variable! - by mynetx on 02-18-2009 at 11:00 AM
RE: HELP - Window control to Script Variable! - by whiz on 02-18-2009 at 11:18 AM
RE: HELP - Window control to Script Variable! - by matty on 02-18-2009 at 12:19 PM
RE: HELP - Window control to Script Variable! - by whiz on 02-18-2009 at 04:02 PM
RE: HELP - Window control to Script Variable! - by matty on 02-18-2009 at 04:12 PM
RE: HELP - Window control to Script Variable! - by whiz on 02-18-2009 at 04:47 PM
RE: HELP - Window control to Script Variable! - by matty on 02-18-2009 at 05:26 PM
RE: HELP - Window control to Script Variable! - by whiz on 02-18-2009 at 05:51 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