Difference between revisions of "ReNamer:Analyze"

From den4b Wiki
Jump to navigation Jump to search
m (re-word)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Up|ReNamer}}
 
{{Up|ReNamer}}
  
When you select the '''Analyze tool''' option (or press SHFT+A), ReNamer launches a window, where you can enter any arbitrary text and apply rules entered in the '''Rules''' pane.
+
When you select the '''Analyze tool''' option (or press '''Shift+A'''), ReNamer launches a window, where you can enter any arbitrary text and apply rules entered in the '''Rules''' pane.
  
This is very useful to see the effect of the rules using dummy text (for example before using the '''Insert''' rule).  
+
This is very useful to see the effect of the rules using dummy text (for example before using the [[ReNamer:Rules:Insert|Insert rule]]). It also allows to check the positions of any character in the text just by pointing to it with keyboard or mouse. The cursor position and selection information are displayed in the status bar of the window (''Line'', ''Position'', ''Right'' and ''Selection'').
It also allows to check the positions of any character in the text just by pointing to it with keyboard or mouse. The appropriate data is displayed in the status bar of the window.
 
  
The text may be a filename (or multiple filenames) loaded from '''Files''' pane or any text manually created by user.
+
The input text may be a file name (or multiple file names) loaded from '''Files''' pane, or any text manually entered by user - which can be very useful when you want to clean a piece of arbitrary text, for example.  
 
 
Let us see an example.
 
 
 
I had already added a single [[ReNamer:Rules:Insert|Insert Rule]] in the '''Rules''' pane of ReNamer. It was set to insert "''x''" (without the quotes) at the 3<sup>rd</sup> position.
 
 
 
Now I press SHFT+A.  
 
 
 
A window pops up:
 
  
 
[[Image:AnalyzeDialog.png|center]]  
 
[[Image:AnalyzeDialog.png|center]]  
 
In this window, I have entered some arbitrary text to show the effect of the rule. Notice how '''x''' is added at the 3<sup>rd</sup> character in each line.
 
 
In our example, I have moved the cursor to the 3rd position, and the status line at the bottom of the screenshot shows this position. That reassures me that the rule ''does'' insert an '''x''' at position-3. (My renaming will happen as planned.)
 
 
Now I can close this window and go ahead and [[ReNamer:Renaming_files|rename my files]].
 
  
 
The options in the window are as follows:  
 
The options in the window are as follows:  
Line 28: Line 13:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Line wrap
+
! Option
| Wraps a line if it exceeds the window's width. (note that the window's width can be adjusted by dragging its right border.)
+
! Description
 
|-
 
|-
! Automatically apply rules
+
| '''Line wrap'''
| You do not have to press the [[Image:ApplyRulesButton.png]] button.
+
| Wraps lines if they exceed the window's width.
 
|-
 
|-
! Apply rules for each line  
+
| '''Automatically apply rules'''
| Applies the rule to each line <u>separately</u>.
+
| Apply rules automatically when the input text changes.
 +
 
 +
You do not have to press the [[Image:ApplyRulesButton.png]] button after changing the input text.
 +
|-
 +
| '''Apply rules for each line'''
 +
| Applies the rules to each line <u>separately</u>.
 +
|}
 +
 
 +
Note: A combination of '''Line wrap''' and '''Apply rules for each line''' options may produce an undesired effect due to the way how Windows applies line wrapping. Rules will be applied to each line <u>separately</u>, even to those created artificially as a result of line wrapping.
  
 
[[Category:ReNamer]]
 
[[Category:ReNamer]]

Latest revision as of 21:17, 15 September 2017

Arrow Return.png ReNamer  

When you select the Analyze tool option (or press Shift+A), ReNamer launches a window, where you can enter any arbitrary text and apply rules entered in the Rules pane.

This is very useful to see the effect of the rules using dummy text (for example before using the Insert rule). It also allows to check the positions of any character in the text just by pointing to it with keyboard or mouse. The cursor position and selection information are displayed in the status bar of the window (Line, Position, Right and Selection).

The input text may be a file name (or multiple file names) loaded from Files pane, or any text manually entered by user - which can be very useful when you want to clean a piece of arbitrary text, for example.

AnalyzeDialog.png

The options in the window are as follows:

Option Description
Line wrap Wraps lines if they exceed the window's width.
Automatically apply rules Apply rules automatically when the input text changes.

You do not have to press the ApplyRulesButton.png button after changing the input text.

Apply rules for each line Applies the rules to each line separately.

Note: A combination of Line wrap and Apply rules for each line options may produce an undesired effect due to the way how Windows applies line wrapping. Rules will be applied to each line separately, even to those created artificially as a result of line wrapping.