Shoutbox

[Help] Looking for a Script-Upper Case to Proper Case - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! General (/forumdisplay.php?fid=23)
+----- Thread: [Help] Looking for a Script-Upper Case to Proper Case (/showthread.php?tid=98097)

[Help] Looking for a Script-Upper Case to Proper Case by anakin818 on 08-05-2011 at 02:38 AM

Hi, There. I am new here.

I search around the Plus Scripts Home Page but I couldn't find a script like Replace a UPPER CASE to Proper Case script.

Anyone know where can I get one?

Thanks.


RE: [Help] Looking for a Script-Upper Case to Proper Case by matty on 08-05-2011 at 02:49 AM

What exactly are you looking for? How about you give us an example...


RE: [Help] Looking for a Script-Upper Case to Proper Case by prashker on 08-05-2011 at 03:10 AM

Some computer programming languages offer facilities for converting text to a form in which all words are first-letter capitalized. Visual Basic calls this "proper case"; Python calls it "title case". This differs from usual title casing conventions, such as the English convention in which minor words are not capitalized.


RE: [Help] Looking for a Script-Upper Case to Proper Case by anakin818 on 08-05-2011 at 04:22 AM

Example:

HAVE YOU EXPERIENCED A PERSISTENT BACK ACHE WHILE THE DOCTORS SEEM TO FIND NOTHING WRONG? YOU MAY HAVE DONE

Replace to:


Have You Experienced A Persistent Back Ache While The Doctors Seem To Find Nothing Wrong? You May Have Done

or

Have you experienced a persistent back ache while the doctors seem to find nothing wrong? You may have done


RE: [Help] Looking for a Script-Upper Case to Proper Case by Tylerohwhat on 08-05-2011 at 06:26 AM

Here ya go. http://www.msgplus.net/Downloads/Download-Details/DocumentID/8229/ Only Does It Like This Though <---


RE: [Help] Looking for a Script-Upper Case to Proper Case by anakin818 on 08-05-2011 at 07:26 AM

Thanks ...

I ald got that script but I would like to Have it like mention Above.

^^

With the Script that u sent to me it will not replace that word if I wrote

HAVE YOU EXPERIENCED A PERSISTENT BACK ACHE WHILE THE DOCTORS SEEM TO FIND NOTHING WRONG? YOU MAY HAVE DONE

to

Have you experienced a persistent back ache while the doctors seem to find nothing wrong? You may have done


RE: [Help] Looking for a Script-Upper Case to Proper Case by prashker on 08-05-2011 at 02:38 PM

Go to the scripts install folder anakin818.

C:/Program Files/Yuna Software/Messsenger Plus/WLM-Scripts/Capitalizer/

OPEN Capitaliser.js

replace


    Msg = Message.split(" ");
with
    Msg = Message.toLowerCase().split(" ");


This will not check that EVERYTHING IS UPPERCASE BEFORE Going To Proper Case, But It Will Work When It Is Uppercase Now.

Save the file and restart Messenger

code:
HAVE YOU EXPERIENCED A PERSISTENT BACK ACHE WHILE THE DOCTORS SEEM TO FIND NOTHING WRONG? YOU MAY HAVE DONE

Have You Experienced A Persistent Back Ache While The Doctors Seem To Find Nothing Wrong? You May Have Done

RE: [Help] Looking for a Script-Upper Case to Proper Case by matty on 08-05-2011 at 03:35 PM

I think the OP wants the capitals to only appear after the appropriate punctuation...


RE: [Help] Looking for a Script-Upper Case to Proper Case by prashker on 08-05-2011 at 03:42 PM

quote:
Originally posted by matty
I think the OP wants the capitals to only appear after the appropriate punctuation...
The OP has clearly mentioned what they wanted, which was (as a few posts above says)

Either:

propercase everything.
or
first letter capital (as you said).

The code that was modified reflects the first "choice".
RE: [Help] Looking for a Script-Upper Case to Proper Case by matty on 08-05-2011 at 03:55 PM

* matty slaps himself for not properly reading!