Macro Language Reference > Macros > Text (Frame Level) > tcase
  
tcase
Description
Changes the case of a single word or selection of words.
 
Example 284. Capitalize selected text
tcase 1
Syntax
tcase case:n?
tcase
[no parameter]
Automatic mode depending on the existing case of the word or selection of words:
If all characters are lower case, the first character of each selected word is made upper case.
If all characters are upper case, all characters are made lower case.
If there is a mixture of upper and lower case, the text will be changed to upper or lower case depending on the case of the first character.
case
0
Automatic mode depending on the existing case of the word or selection of words:
If all characters are lower case, the first character of each selected word is made upper case.
If all characters are upper case, all characters are made lower case.
If there is a mixture of upper and lower case, the text will be changed to upper or lower case depending on the case of the first character.
1
Change all selected characters to upper case.
2
Change all selected characters to lower case.
3
Change only the first character of word or words selected to upper case (title case).