Difference between revisions of "ReNamer:Rules:Case"

From den4b Wiki
Jump to navigation Jump to search
(Created page with '== Case Rule == [[Image:]] Change the case of the filename: capitalize, to lower case, to upper case, invert case, and put only first letter capital (as in a sentence). There ...')
 
(general cleanup, space is a new delimiter for fragments)
Line 7: Line 7:
  
 
The parameters are as follows:
 
The parameters are as follows:
 
  
 
{| class="prettytable"
 
{| class="prettytable"
! <center>Parameter</center>
+
! Parameter
! <center>Details</center>
+
! Details
  
 
|-
 
|-
Line 22: Line 21:
 
* In all other options, all letters in the original name are forced to lowercase first, and then converted as defined ion the option..
 
* In all other options, all letters in the original name are forced to lowercase first, and then converted as defined ion the option..
 
* The '''(none of the above) '''option is to disable the case conversions listed on the left. Now you can independently operate the two options listed on the right side.
 
* The '''(none of the above) '''option is to disable the case conversions listed on the left. Now you can independently operate the two options listed on the right side.
 
 
  
 
|-
 
|-
Line 33: Line 30:
 
| This check box is coupled with the box below it.  
 
| This check box is coupled with the box below it.  
  
* Specify text fragments that must have a specific case. For example-
+
* Specify text fragments that must have a specific case. For example:
 
 
  
 
{| class="prettytable"
 
{| class="prettytable"
| <center>'''Case'''</center>
+
! Case
| <center>'''Examples'''</center>
+
! Examples
  
 
|-
 
|-
Line 53: Line 49:
  
 
|}
 
|}
* Put a space between different fragments.
+
* Put a comma between different fragments (in versions prior to v5.50 space was used instead of a comma).
 
 
 
 
  
 
|-
 
|-

Revision as of 17:31, 31 May 2009

Case Rule

[[Image:]]

Change the case of the filename: capitalize, to lower case, to upper case, invert case, and put only first letter capital (as in a sentence).

There is also an option to force case for specific text-fragments, such as CD, DVD, RF, etc. These fragments would not look natural in any other case (e.g. cd, dvd, rf). This rule allows you to convert the case of such terms in one stroke.

The parameters are as follows:

Parameter Details
Main options Several options are offered.
  • The case of each option itself illustrates how that option works. For example, Capitalise Every Word.
  • In invert case option, all capital letters become small, and all small letters are capitalized regardless of their position in the name.
  • In all other options, all letters in the original name are forced to lowercase first, and then converted as defined ion the option..
  • The (none of the above) option is to disable the case conversions listed on the left. Now you can independently operate the two options listed on the right side.
Skip extension If this check box is unselected, the extension will be included in the rule.
Force case for fragments This check box is coupled with the box below it.
  • Specify text fragments that must have a specific case. For example:
Case Examples
ALLCAPS CD, DVD, TV, HTML, XML, C++, USA
Only first letter capitalized Java, India, English, Sunday, Easter,
Mixed case OpenSUSE, OOo, ReNamer,
  • Put a comma between different fragments (in versions prior to v5.50 space was used instead of a comma).
Extension always lower case Forces the extension to lowercase.

Note: This setting overrides any other setting that can alter the extension. For example, consider a case where the ALL UPPER CASE option is selected and the skip extension option is deselected. Logically, the extension should be converted into ALLCAPS. But if the Extension always lower case option is selected, the case of the extension will be converted to lowercase.This setting will override even the fragments case-conversion.