Add to Rename Special "Capitalise by rule"
Add to Rename Special "Capitalise by rule"
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).
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Add to Rename Special "Capitalise by rule"
Good idea. I'll add a tweak to the next beta.
FAQ | XY News RSS | XY Twitter
Re: Add to Rename Special "Capitalise by rule"
And the tweak accepts a list of words which will be converted to lower-case (but not at the beginning of a string)?
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Add to Rename Special "Capitalise by rule"
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
FAQ | XY News RSS | XY Twitter