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

Pages: (2): « First [ 1 ] 2 » Last »
Author: Message:
Zayl
Junior Member
**


Posts: 27
Joined: Jun 2006
O.P.
Hello, I'm searching scripts/plug-ins to do this, or maybe somedy can do these things :

- Imitate
- Show de video played in the personal msg (with a little icon "vidéo" that replaces the headspeakers
- Show the uptime (how many hours, minutes, secondes you computer is on) in the personal msg
- I'll try to explain it cause I don't know the word for, you know when you have a special event, you put in your nickname or personal msg : J-2 I go to Canada (in French), that means "2 days before I go to Canada", well if we could have something that show how many hours, minute left before the special event comes ( "In Live"). Configuring it before ;)
- Something to show what game you are playing (with steam), it was possible on MSN Messenger with the "Xfire plugin" for MsgPlus but now we have MP!L and it does no accept plugings but scripts...

Thks for your replies :)

Zayl

This post was edited on 06-27-2006 at 08:44 PM by Zayl.
06-27-2006 04:43 PM
Profile E-Mail PM Find Quote Report
Zayl
Junior Member
**


Posts: 27
Joined: Jun 2006
O.P.
A little up !
06-27-2006 08:43 PM
Profile E-Mail PM Find Quote Report
upsfeup
Junior Member
**


Posts: 67
Joined: Feb 2005
Humm some considerations:

- Imitate
Someone is already trying to do this. Search for the thread.

- Show de video played in the personal msg (with a little icon "vidéo" that replaces the headspeakers
I don't think that this can be done with the script engine. There is no access to the text/icon displayed. It's read-only as far I could tell.

- Show the uptime (how many hours, minutes, secondes you computer is on) in the personal msg
This migh be doable.. maybe with a function call to get the uptime. But i think It my to much CPU intensive to update it every second. I would have to search a tad more!

-The Very Long one
Like a countdown timer. Again might be doable. Same thing as point above.

-Game playing
I have no idea....
06-27-2006 08:55 PM
Profile E-Mail PM Find Quote Report
JonnyT
Junior Member
**


Posts: 28
Joined: Jun 2006
for uptime you could use this:

code:
/*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <darktempler@gmail.com> wrote this file. As long as you retain this notice you
* can do whatever you want with my code. If we meet some day, and you think
* this code is worth it, you can buy me a beer in return - Matt Labrum (-dt-)
* ----------------------------------------------------------------------------
*/
function getUptime(){
    var uptime = wmi('Win32_OperatingSystem').LastBootUpTime;
   
    var start = dateTimetoRealTime(uptime).getTime();
    var now = new Date().getTime();
    var secs = Math.round((now - start) / 1000);

    var st = '';
    var days = removeDec(secs / 86400);
   
    if(days >= 1){
       
        if(days == 1){
            st += days + ' day ';
        }else{
            st += days + ' days ';
        }
       
        secs = secs - (days * 86400);
    }
   
    var hours = removeDec(secs / 3600);

    if(hours >= 1){
        if(hours == 1){
            st += hours + ' hour ';
        }else{
            st += hours-1 + ' hours ';
        }
       
        secs = secs - (hours * 3600)
    }
   
    var mins = removeDec(secs / 60);
   
    if(mins >= 1){
        if(mins == 1){
            st += mins + ' minute ';
        }else{
            st += mins + ' minutes ';
        }
   
        secs = secs - (mins * 60);
    }

    st += 'and ' + secs + ' seconds'

    return st;
}
06-27-2006 09:02 PM
Profile E-Mail PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
quote:
Originally posted by upsfeup
- Show de video played in the personal msg (with a little icon "vidéo" that replaces the headspeakers
I don't think that this can be done with the script engine. There is no access to the text/icon displayed. It's read-only as far I could tell.
There isn't a video icon anyways. You'd just set the standard psm to the video name and a (~) in front.

quote:
- Show the uptime (how many hours, minutes, secondes you computer is on) in the personal msg
This migh be doable.. maybe with a function call to get the uptime. But i think It my to much CPU intensive to update it every second. I would have to search a tad more!
the Computer Details script has uptime, put it on a timer for one minute. Most likely WLM will not be able to connect to the servers and update it every second anyways.

quote:
-The Very Long one
Like a countdown timer. Again might be doable. Same thing as point above.
Done already...but not sure where to get it :P
06-27-2006 09:04 PM
Profile PM Find Quote Report
upsfeup
Junior Member
**


Posts: 67
Joined: Feb 2005
I'm currently working on the uptime... maybe a few more minutes...
06-27-2006 09:35 PM
Profile E-Mail PM Find Quote Report
upsfeup
Junior Member
**


Posts: 67
Joined: Feb 2005
Ok! This is stupid.. but I accidentely deleted the files while putting them on plsc file :S

Is 5 am and no undelete program can recover them! I'm going to sleep! :'(
06-28-2006 03:49 AM
Profile E-Mail PM Find Quote Report
Tartooob
Junior Member
**

Avatar

Posts: 44
Joined: Jul 2005
quote:
Originally posted by JonnyT
for uptime you could use this:

code:
/*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <darktempler@gmail.com> wrote this file. As long as you retain this notice you
* can do whatever you want with my code. If we meet some day, and you think
* this code is worth it, you can buy me a beer in return - Matt Labrum (-dt-)
* ----------------------------------------------------------------------------
*/
function getUptime(){
    var uptime = wmi('Win32_OperatingSystem').LastBootUpTime;
   
    var start = dateTimetoRealTime(uptime).getTime();
    var now = new Date().getTime();
    var secs = Math.round((now - start) / 1000);

    var st = '';
    var days = removeDec(secs / 86400);
   
    if(days >= 1){
       
        if(days == 1){
            st += days + ' day ';
        }else{
            st += days + ' days ';
        }
       
        secs = secs - (days * 86400);
    }
   
    var hours = removeDec(secs / 3600);

    if(hours >= 1){
        if(hours == 1){
            st += hours + ' hour ';
        }else{
            st += hours-1 + ' hours ';
        }
       
        secs = secs - (hours * 3600)
    }
   
    var mins = removeDec(secs / 60);
   
    if(mins >= 1){
        if(mins == 1){
            st += mins + ' minute ';
        }else{
            st += mins + ' minutes ';
        }
   
        secs = secs - (mins * 60);
    }

    st += 'and ' + secs + ' seconds'

    return st;
}


How to use this exactly ? Can you make a script please.
06-28-2006 06:08 AM
Profile PM Find Quote Report
Mr. Bougo
Junior Member
**


Posts: 51
34 / Male / –
Joined: Jun 2006
The script already exists...

http://shoutbox.menthix.net/showthread.php?tid=61024
06-28-2006 06:11 AM
Profile PM Find Quote Report
Zayl
Junior Member
**


Posts: 27
Joined: Jun 2006
O.P.
Nooo! You don't understand !!
I said :

quote:
Originally posted by Zayl
Show the uptime (how many hours, minutes, secondes you computer is on) in the personal msg

=> IN YOUR PERSONAL MSG !!
06-28-2006 09:19 AM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« 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