What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Fetch Webpage without Freezing WLM [SOLVED]

Fetch Webpage without Freezing WLM [SOLVED]
Author: Message:
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
O.P. Fetch Webpage without Freezing WLM [SOLVED]
js code:
    var temp = WinHttpReq.Open("GET", "http://sonicsam.net/xboxXXX.php?"+date.getTime(), false);
    WinHttpReq.Send();
    strResult = WinHttpReq.ResponseText;

WLM freezes until the page has completely loaded (even in the browser, because of the functions I use in the PHP code, it takes a few seconds).

How can I do this in a way that WLM will not freeze.

I had an idea, maybe download the page via wget, then load the file locally, and read that. However this script runs every 5 minutes and I don't want a wget command prompt window coming up every 5 minutes (and I would have to add a timer, because wget wouldn't be able to tell the script that it is done downloading the page, proceed to read it) But I guess there is code to check that 'while file doesn't exist, check if file exists'

This post was edited on 07-02-2009 at 08:47 PM by prashker.
07-02-2009 07:55 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Fetch Webpage without Freezing WLM [SOLVED] - by prashker on 07-02-2009 at 07:55 PM
RE: Fetch Webpage without Freezing WLM - by Mnjul on 07-02-2009 at 08:00 PM
RE: Fetch Webpage without Freezing WLM - by prashker on 07-02-2009 at 08:14 PM
RE: Fetch Webpage without Freezing WLM - by matty on 07-02-2009 at 08:19 PM
RE: Fetch Webpage without Freezing WLM - by Mnjul on 07-02-2009 at 08:20 PM
RE: Fetch Webpage without Freezing WLM - by mynetx on 07-02-2009 at 08:21 PM
RE: Fetch Webpage without Freezing WLM - by prashker on 07-02-2009 at 08:47 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