<File Content
:POS:COUNT:FILENAME> |
Will insert a text phrase from a file. It will use the text starting a position POS in the filename and copy COUNT characters. If FILENAME is specified, Advanced Renamer will search for the text phrase in that file. If FILENAME is omitted the file which is being renamed is used.
If FILENAME is specified it must be quoted with ".
Examples of use:
<File Content:46:12:"c:\program files\files\myfile.txt">
<File Content:56:9>
Note: FILENAME is optional. POS and COUNT is required. |
<Substr
:POS:COUNT:START> |
Will insert a part of the original filename into the new name. The POS and COUNT parameters are used to define what part of the filename that will get copyed.
Example of use: <Substr:5:2> will return "wa" for the filename "The walking man.txt".
The parameters don't have to be numeric indexes, they can also be text strings to search for in the filename.
Example of use: <Substr:ki:an> will return "ng m" for "The walking man.txt".
The following will yield the same result: <Substr:ki:4>
In the rare cases where you actually want to search for a number in the filename you can put the search term in quotes.
Example of use: <Substr:"2":2> will return "nd" for "The 2nd door.txt".
The optional START parameter will define where to start searching the name.
Example of use: <Subtr:".":5:3> will return "Story" for "A.Cool.Story.txt" |
<RSubstr
:POS:COUNT:START> |
Works exactly as the <Substr> tag but searches the string backwards.
Example of use <RSubstr:2:3> for "A cool baby" will return "bab" |
| <Rand:MIN:MAX> |
Inserts a random number. MIN and MAX can be used to specify a minimum and a maximum range. |
| <ExifTool:VALUE> |
Insert value from the external program ExifTool. VALUE is the name of the ExifTool tag to be used. |