Difference between revisions of "ReNamer:Rules:Insert"
Jump to navigation
Jump to search
m (→Insert Rule) |
(Updated options to align with the latest version) |
||
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
! Details | ! Details | ||
|- | |- | ||
− | | | + | | Insert |
− | | Enter the text that will be inserted. | + | | Enter the subject text that will be inserted. |
|- | |- | ||
| Insert meta tag | | Insert meta tag | ||
Line 22: | Line 22: | ||
|- | |- | ||
| Where | | Where | ||
− | | Where to insert the text | + | | Where to insert the subject text. Select one of the [[#"Where" options|"Where" options]] described below. |
+ | |- | ||
+ | | Skip extension | ||
+ | | If checked, the file extension will be excluded from the processing and will remain unaffected. | ||
|} | |} | ||
Line 37: | Line 40: | ||
| Suffix | | Suffix | ||
| Adds the string after the existing name. | | Adds the string after the existing name. | ||
− | *If the '''skip extension '''option is not | + | *If the '''skip extension''' option is not checked, the specified text will be inserted ''after'' the extension. |
|- | |- | ||
| Position | | Position | ||
− | | Insert at the | + | | Insert at the specified position. |
− | *Count spaces and special characters also. | + | * The position index starts from 1. |
− | + | * Count spaces and special characters also. | |
− | *You can count in the ''right-to-left ''direction | + | * You can count in the ''right-to-left'' direction |
− | + | * You may use [[ReNamer:Analyze|Analyze]] window to check the position by pointing to the character with mouse or keyboard instead of counting it by yourself. Just [[ReNamer:Adding files and folders#Selecting files|select]] the file (or files) in the '''Files''' pane and choose the '''Analyze name''' option from the context menu. | |
− | *You may use [[ReNamer:Analyze|Analyze]] window to check the position by pointing to the character with mouse or keyboard instead of counting it by yourself. Just [[ReNamer:Adding files and folders#Selecting files|select]] the file (or files) in the '''Files''' pane and choose the '''Analyze name''' option from the context menu. | ||
|- | |- | ||
| After text | | After text | ||
− | | | + | | Insert the main subject text after the text entered in the "after text" box. |
− | *If the "after text" string is not found in the name, the | + | *If the "after text" string is not found in the name, the main subject text will not be inserted. |
|- | |- | ||
| Before text | | Before text | ||
− | | | + | | Insert the main subject text before the text entered in the "before text" box. |
− | *If the "before text" string is not found in the name, the | + | *If the "before text" string is not found in the name, the main subject text will not be inserted. |
+ | |||
+ | |- | ||
+ | | Replace current name | ||
+ | | The current name is deleted prior to inserting the subject text. | ||
|} | |} | ||
[[Category:ReNamer]] | [[Category:ReNamer]] |
Latest revision as of 14:48, 5 January 2021
Insert Rule
This rule inserts the specified string at the beginning of the name, or end of the name, or at any other specified position. It can also insert the string conditionally (only when the existing name contains a second specified string).
The parameters are as follows:
Parameter | Details |
---|---|
Insert | Enter the subject text that will be inserted. |
Insert meta tag | Click the button to see a list of meta-tags. |
Where | Where to insert the subject text. Select one of the "Where" options described below. |
Skip extension | If checked, the file extension will be excluded from the processing and will remain unaffected. |
"Where" options
Option | Details |
---|---|
Prefix | Adds the string before the existing name. |
Suffix | Adds the string after the existing name.
|
Position | Insert at the specified position.
|
After text | Insert the main subject text after the text entered in the "after text" box.
|
Before text | Insert the main subject text before the text entered in the "before text" box.
|
Replace current name | The current name is deleted prior to inserting the subject text. |