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

[Tweaks] Twitter2PSM
Author: Message:
onesmartguy
New Member
*


Posts: 1
Joined: Mar 2009
O.P. [Tweaks] Twitter2PSM
Finally,

I have been waiting for a good Twitter2PSM! Here is a great one http://www.msgpluslive.net/scripts/view/517-Twitter2PSM/

I just wanted to throw out there a few updates I did and hopefully these will be editable options in mynetx's release.

From line 256 is where i change a few things. I didn't want to show replies i recieved as my status for msn. Also this strips out the (days ago) text as well

BTW great job mynetx!

Follow me! #onesmartguy

code:
       
        lastIndex = strStatus.lastIndexOf("(");
        if(lastIndex > 0)
            strStatus = trim(strStatus.substring(0, lastIndex));
           
        if(strStatus.length > 128)
            strStatus = strStatus.substr(0, 127) + "…";
           
        Debug.Trace("Status updated: " + strStatus + ", " + Messenger.MyPersonalMessage);
        if(Messenger.MyPersonalMessage != strStatus) {
            Debug.Trace("Status updated: " + strStatus);
            if(strStatus.indexOf("@") != 0){
       
            Messenger.MyPersonalMessage = strStatus;
            } else {
            Debug.Trace("Status did not update since last update was a reply");
            }
        }
    };
    objAjax.send(null);
}
// Removes leading whitespaces
function LTrim( value ) {
   
    var re = /\s*((\S+\s*)*)/;
    return value.replace(re, "$1");
   
}

// Removes ending whitespaces
function RTrim( value ) {
   
    var re = /((\s*\S+)*)\s*/;
    return value.replace(re, "$1");
   
}

// Removes leading and ending whitespaces
function trim( value ) {
   
    return LTrim(RTrim(value));
   
}
03-18-2009 01:52 AM
Profile E-Mail PM Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
RE: [Tweaks] Twitter2PSM
The current version of Twitter2PSM has options for all of these tweaks. :)
Download now
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
08-04-2009 11:18 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