What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » A newbie question

A newbie question
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: A newbie question
quote:
Originally posted by chrisb
Oh wow, such choice :P, I will take a look in the jScript documentation for that. Thanks a bunch matty, you have been a big help!
The JScript documentation won't give you all the information you need.
I attached a registry script I wrote for easy access to the registry.
A database is just too much work for a script and not worth the effort. This leaves you with XML and INI files.
INI files use the following functions:
GetPrivateProfileString
WritePrivateProfileString
GetPrivateProfileInt

As for XML there is lots of information out on the internet about it.

quote:
Originally posted by chrisb
Could you just tell me what the following should be, I know I have done it wrong...

var ctrlTxt = MsgPlus.GetControlText("txtEl");
GetControlText is a function of the Plus! Window. Therefore when you open the window you need to assign it to a variable for later use.

The following is simply an example and shouldn't be used for larger scripts with multiple windows
Javascript code:
var pPlusWnd;
pPlusWnd = MsgPlus.OpenWindow ( '...' , '...' );
Debug.Trace ( pPlusWnd.GetControlText ( 'myControl' ) );


.zip File Attachment: registry.zip (2.45 KB)
This file has been downloaded 116 time(s).

This post was edited on 09-03-2009 at 03:56 PM by matty.
09-03-2009 03:48 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
A newbie question - by chrisb on 09-03-2009 at 10:58 AM
RE: A newbie question - by matty on 09-03-2009 at 12:19 PM
RE: A newbie question - by chrisb on 09-03-2009 at 02:43 PM
RE: A newbie question - by matty on 09-03-2009 at 03:00 PM
RE: A newbie question - by chrisb on 09-03-2009 at 03:28 PM
RE: A newbie question - by matty on 09-03-2009 at 03:32 PM
RE: A newbie question - by chrisb on 09-03-2009 at 03:34 PM
RE: A newbie question - by chrisb on 09-03-2009 at 03:45 PM
RE: A newbie question - by matty on 09-03-2009 at 03:48 PM
RE: A newbie question - by chrisb on 09-03-2009 at 03:50 PM
RE: A newbie question - by chrisb on 09-03-2009 at 04:11 PM
RE: A newbie question - by chrisb on 09-03-2009 at 04:37 PM
RE: A newbie question - by Matti on 09-03-2009 at 05:00 PM
RE: A newbie question - by chrisb on 09-03-2009 at 05:04 PM
RE: A newbie question - by chrisb on 09-03-2009 at 05:06 PM
RE: A newbie question - by chrisb on 09-05-2009 at 04:25 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