What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQUEST] .txt File Displayer

[REQUEST] .txt File Displayer
Author: Message:
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: [REQUEST] .txt File Displayer
Tada :)

Tried n approved.

code:
var url = "http://www.realdanceradio.com/webcam/onair/onair.txt";
var ajax = new ActiveXObject("Microsoft.XMLHTTP");

function OnEvent_SigninReady(mail){
    getTxt();
}
function OnEvent_Initialize(ms){
    if(!ms)getTxt();       
}

function OnEvent_Timer(nom){
    if(nom=="tmr")getTxt();
}

function getTxt(){
    Interop.Call('wininet.dll', 'DeleteUrlCacheEntryW', url);
    ajax.open("GET",url, true);
    ajax.onreadystatechange = function(){
        if (ajax.readyState == 4){
            Messenger.MyPersonalMessage = "Current playing : "+ajax.responseText;
            MsgPlus.AddTimer("tmr", 10000);
        }
    };
    ajax.send(null);
}

This post was edited on 04-22-2007 at 01:12 AM by Huhu_Manix.
04-22-2007 01:11 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[REQUEST] .txt File Displayer - by webbo04 on 04-21-2007 at 05:15 PM
RE: [REQUEST] .txt File Displayer - by hmaster on 04-21-2007 at 05:48 PM
RE: [REQUEST] .txt File Displayer - by webbo04 on 04-21-2007 at 06:14 PM
RE: [REQUEST] .txt File Displayer - by Huhu_Manix on 04-22-2007 at 01:11 AM
RE: [REQUEST] .txt File Displayer - by webbo04 on 04-22-2007 at 08:06 AM
RE: [REQUEST] .txt File Displayer - by Felu on 04-22-2007 at 08:25 AM
RE: [REQUEST] .txt File Displayer - by webbo04 on 05-23-2007 at 07:52 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