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

Accessing information from the internet
Author: Message:
ash44455666
New Member
*


Posts: 10
Joined: Aug 2007
O.P. RE: Accessing information from the internet
function search(query, engine){
    var shell = new ActiveXObject("WScript.Shell");
    engine=engine.split("TEST");
    query = query.replace(/\s/gi,"+");
    shell.run(engine[0]+query+engine[1]);
}

how does this function work?  I don't really need a detailed description of every line of code.  What does 'query' need to be?  Would that be the what you're searching for at google?  Also, what would 'engine' have to be?  Also, will this be the only function I need to use, disregarding something to filter out what I need?

Edit:  I just tried out your code, but it doesn't retrieve information from the internet, it just goes to the appropriate website on the default web browser.  This is useful in some cases, but what I'm trying to do is have the script get the required information itself and bring it back to be said in the conversation.  Is this possible?

This post was edited on 10-07-2007 at 11:57 PM by ash44455666.
10-07-2007 11:51 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Accessing information from the internet - by ash44455666 on 10-07-2007 at 04:55 PM
RE: Accessing information from the internet - by Spunky on 10-07-2007 at 06:40 PM
RE: Accessing information from the internet - by ash44455666 on 10-07-2007 at 07:38 PM
RE: Accessing information from the internet - by RaceProUK on 10-07-2007 at 08:26 PM
RE: Accessing information from the internet - by ash44455666 on 10-07-2007 at 11:51 PM
RE: Accessing information from the internet - by Spunky on 10-08-2007 at 02:12 AM
RE: Accessing information from the internet - by ash44455666 on 10-08-2007 at 02:15 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