What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Read from XML

Read from XML
Author: Message:
Joakin
New Member
*


Posts: 7
Joined: Apr 2006
O.P. RE: Read from XML
Testing the code i write this:

code:
function wp(ChatWnd){
var xml = new ActiveXObject('Microsoft.XMLDOM');

//Create the ActiveX object
xml.load("http://whatpulse.org/api/users/171247.xml");
//Load the XML file
var totalKeyCount = xml.selectNodes("/UserStats/TotalKeyCount/text()");
//Get the text from the node
var message = "I have made "+totalKeyCount+" key strokes.";
//Create a message
ChatWnd.SendMessage(message);
//Send the message --- Make sure ChatWnd is defined!!!
}


And i write in my first chat window: /script wp 1

but the menssage is:   Joakin dice (16:42):
I have made  key strokes.

it doesnt show the numbers.
:(
10-28-2006 07:48 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Read from XML - by Joakin on 10-28-2006 at 06:57 PM
RE: Read from XML - by Matti on 10-28-2006 at 07:13 PM
RE: Read from XML - by Joakin on 10-28-2006 at 07:32 PM
RE: RE: Read from XML - by Felu on 10-28-2006 at 07:45 PM
RE: Read from XML - by Joakin on 10-28-2006 at 07:48 PM
RE: Read from XML - by Spunky on 10-28-2006 at 09:38 PM
RE: Read from XML - by Joakin on 10-28-2006 at 09: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