quote:
Originally posted by chrisb
Oh wow, such choice , 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
js code:
var pPlusWnd;
pPlusWnd = MsgPlus.OpenWindow ( '...' , '...' );
Debug.Trace ( pPlusWnd.GetControlText ( 'myControl' ) );