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

from caps to lowercase
Author: Message:
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
39 / Male / Flag
Joined: Mar 2002
RE: from caps to lowercase
code:
    if(CommandIs == "Caps") {
    return Message.replace(Message, Message.toUpperCase());
    }
The above code transforms it to uppercase, so i assume adding the following directly below that code will give you a transform it to all lowercase:
code:
    if(CommandIs == "Lower") {
    return Message.replace(Message, Message.toLowerCase());
    }

And to make it work in the menu, search for:
code:
    if(ControlId == "Caps") {
        var CommandIs = "Caps";
        new ActiveXObject('WScript.Shell').RegWrite(MsgPlus.ScriptRegPath + Email + "\\command",CommandIs);
    }
Ande directly under that add:
code:
    if(ControlId == "Lower") {
        var CommandIs = "Lower";
        new ActiveXObject('WScript.Shell').RegWrite(MsgPlus.ScriptRegPath + Email + "\\command",CommandIs);
    }

This post was edited on 05-23-2007 at 12:35 PM by Menthix.
Finish the problem
Menthix.net | Contact Me
05-23-2007 12:31 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
from caps to lowercase - by Jarrod on 05-23-2007 at 12:24 PM
RE: from caps to lowercase - by Menthix on 05-23-2007 at 12:31 PM
RE: RE: from caps to lowercase - by vikke on 05-23-2007 at 02:01 PM
RE: from caps to lowercase - by markee on 05-23-2007 at 01:15 PM
RE: from caps to lowercase - by Menthix on 05-23-2007 at 01:34 PM
RE: from caps to lowercase - by CookieRevised on 05-23-2007 at 06:56 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