Page 1 of 1

Add to Rename Special "Capitalise by rule"

Posted: 27 Jun 2021 14:43
by iamnemo
It would be useful if Rename Special supported a function to "capitalize by rule". This would allow you to capitalize more correctly the names of files that are titles of publications. The website capitalizemytitle.com conveniently describes the standard rules, and offers an API, but as a service that must be paid for. The "capitalise by rule" of Rename Special would be less sophisticated, but adequate for its purpose, which is only to rename files. It would capitalise all words in a file name (like is done at present by Aaa Aaa.aaa) except for those found in a list supplied by each user. For instance, I would have in my list the following words I do not want capitalized (a, an, the, and, but, for, or, nor, to, de, von).

Re: Add to Rename Special "Capitalise by rule"

Posted: 30 Jun 2021 21:11
by admin
Good idea. I'll add a tweak to the next beta.

Re: Add to Rename Special "Capitalise by rule"

Posted: 30 Jun 2021 21:42
by highend
And the tweak accepts a list of words which will be converted to lower-case (but not at the beginning of a string)?

Re: Add to Rename Special "Capitalise by rule"

Posted: 30 Jun 2021 22:10
by admin

Code: Select all

    + File | Rename Special | Aaa Aa.aaa: For this command and other occasions 
      where the so-called "title case" is applied you can now define exceptions 
      using a new tweak. For example:
        RenameTitleCaseExceptions=a;an;the;and;but;for;or;nor;to;in;on;at;by;of;de;von
      Of course, the exceptions only apply in non-first positions. With the 
      above example you would get this result:
        IN 1: the capitalization of the important words in the title
        IN 2: THE CAPITALIZATION OF THE IMPORTANT WORDS IN THE TITLE
        OUT:  The Capitalization of the Important Words in the Title