Al Willen
What it does:
This macro takes any highlighted text and gives the end-user the option of converting it to either all lowercase, all
uppercase, or initial caps (i.e. The first letter of each work is capitalized).
Al says "Although the macro seems simple, it is the only routine I know that conveniently can make initial caps of any sentence.
I use it for movie or CD/DVD titles.
To install:
Download either the Macro Express 3 or Macro Express Pro version of the macro file and save it to your hard drive. Open the macro file
or import the macros into your existing macro file by clicking File | Import | Macros.


To use:
Highlight some text and press Ctrl+Alt+Shift+ENTER. When the macro runs a menu appears that allows you to choose between 'Mixed Case',
'Lower Cast' and 'Upper Case'. Make a choice and the text is converted.
How it works:
Depending on your choice, this macro uses the 'Variable Modify String Lowercase' or Variable Modify String Uppercase'. The Mixed Case
selection requires a bit more effort. Al uses a nifty trick to change the first letter of each work to uppercase. He converts a space
followed by a letter to a space followed by an uppercase letter. This simple solution works great.
Modifications:
This macro was modified from the original submission to use a Multiple Choice Menu to select the action and to detect when nothing is
highlighted and stop the macro.
Limitations:
This macro will handle setting text to Mixed Case for computers configured for the english language. If your computer uses another
language, you may want to edit the macro to support characters not found in the english language.
Requirements:
- Macro Express 3 - use umconverthighlightedtext3.mex
- Macro Express Pro - use umconverthighlightedtext.mex
Submitted by:
Al Willen, President
Virtually Yours
http://viryours.com
|