Difference between revisions of "ReNamer:Rules:Insert"

From den4b Wiki
Jump to navigation Jump to search
(added renamer help template)
(Updated options to align with the latest version)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:Cleanup}}
+
{{Go|up=ReNamer:Rules|next=ReNamer:Rules:Delete}}
  
{{Navigation
+
== Insert Rule  ==
|title = User Manual
 
|next = ReNamer:Rules:Delete
 
|up = ReNamer:Rules
 
}}
 
  
{{ReNamer Help|align=left}}
+
[[Image:InsertRule.png|center]]
  
== 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).  
[[Image:]]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:
+
The parameters are as follows:  
  
{| class="prettytable"
+
{| class="wikitable"
! Parameter
+
|-
 +
! Parameter  
 
! Details
 
! Details
 +
|-
 +
| Insert
 +
| Enter the subject text that will be inserted.
 +
|-
 +
| Insert meta tag
 +
[[Image:ReNamer Insert Meta Tag Button.png]]
 +
| Click the button to see a list of [[ReNamer:Meta Tags|meta-tags]].
 +
|-
 +
| Where
 +
| 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.
 +
|}
  
|-
+
=== "Where" options ===
| What
 
| Enter the string that will be inserted.
 
  
 +
{| class="wikitable"
 
|-
 
|-
| Insert meta tag
+
! Option
[[Image:ReNamer Insert Meta Tag Button.png]]
+
! Details
| Click the button to see a list of meta-tags.
 
 
 
 
|-
 
|-
| Where
+
| Prefix  
| Select any one of the following options:
 
 
 
{| class="prettytable"
 
| Prefix
 
 
| Adds the string before the existing name.
 
| Adds the string before the existing name.
 
 
|-
 
|-
| Suffix
+
| Suffix  
| Adds the string after the existing name.
+
| Adds the string after the existing name.  
 
+
*If the '''skip extension''' option is not checked, the specified text will be inserted ''after'' the extension.
* If the '''skip extension '''option is selected, the specified text will be inserted ''after'' the extension.
 
  
 
|-
 
|-
| Position
+
| Position  
| Insert at the set position (the count starts from 1).  
+
| Insert at the specified position.
 
+
* The position index starts from 1.
 
* Count spaces and special characters also.
 
* Count spaces and special characters also.
 +
* 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 can count in the ''right-to-left ''direction
+
|-
 +
| 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 main subject text will not be inserted.
  
 
|-
 
|-
| After text
+
| Before text  
| Inserts the text entered in the "what" box after the text entered in the "where" box.  
+
| 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 main subject text will not be inserted.
* If the "where" text is not found in the name, the "what" text will not be inserted.
 
  
 
|-
 
|-
| Before text
+
| Replace current name
| Inserts the text entered in the "what" box before the text entered in the "where" box.
+
| The current name is deleted prior to inserting the subject text.
 
 
* If the "where" text is not found in the name, the "what" text will not be inserted.
 
  
 
|}
 
|}
  
|}
+
[[Category:ReNamer]]

Latest revision as of 14:48, 5 January 2021

Insert Rule

InsertRule.png

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

ReNamer Insert Meta Tag Button.png

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.
  • If the skip extension option is not checked, the specified text will be inserted after the extension.
Position Insert at the specified position.
  • The position index starts from 1.
  • Count spaces and special characters also.
  • You can count in the right-to-left direction
  • You may use Analyze window to check the position by pointing to the character with mouse or keyboard instead of counting it by yourself. Just select the file (or files) in the Files pane and choose the Analyze name option from the context menu.
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 main subject text will not be inserted.
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 main subject text will not be inserted.
Replace current name The current name is deleted prior to inserting the subject text.