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:
webbo04
Junior Member
**

BEASTA!!

Posts: 15
32 / Male / –
Joined: Apr 2007
O.P. [REQUEST] .txt File Displayer
Hello All

I really think this can be done as its such a easy file format. I run a internet radio  show and my software generates a playing now.txt file. Can this be put into my Personal message like this

Currently Playing:

This is the link to the file:
code:
http://www.realdanceradio.com/webcam/onair/onair.txt

It needs to refresh like every 10 seconds when the song changes.

PLEASE SAY IT CAN BE DONE!

Tar

Tom
04-21-2007 05:15 PM
Profile E-Mail PM Web Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: [REQUEST] .txt File Displayer
Yes it can, do you have experience with jscript or do you need it to be created?
[Image: sig.png]
04-21-2007 05:48 PM
Profile PM Web Find Quote Report
webbo04
Junior Member
**

BEASTA!!

Posts: 15
32 / Male / –
Joined: Apr 2007
O.P. RE: [REQUEST] .txt File Displayer
Could you create it?
04-21-2007 06:14 PM
Profile E-Mail PM Web Find Quote Report
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
webbo04
Junior Member
**

BEASTA!!

Posts: 15
32 / Male / –
Joined: Apr 2007
O.P. RE: [REQUEST] .txt File Displayer
THANK YOU SOOO MUCH!!!

How can I turn it off? Do I just untick it and delete the PM?
04-22-2007 08:06 AM
Profile E-Mail PM Web Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [REQUEST] .txt File Displayer
quote:
Originally posted by webbo04
THANK YOU SOOO MUCH!!!

How can I turn it off? Do I just untick it and delete the PM?
Just disable the script and delete the PSM :).
04-22-2007 08:25 AM
Profile E-Mail PM Web Find Quote Report
webbo04
Junior Member
**

BEASTA!!

Posts: 15
32 / Male / –
Joined: Apr 2007
O.P. RE: [REQUEST] .txt File Displayer
Don't know if anyone is willing to do this but could they make a gui for this.

Simple Features:

The url its getting the .txt file from. So like

Base Url:

Also a online offline thing. Just a tick box.

And possibly if your kind enough.

A simple text box saying : Text to display before:


Tar!
05-23-2007 07:52 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


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