Difference between revisions of "ReNamer:Analyze"

From den4b Wiki
Jump to navigation Jump to search
(Cleaned up, removed a very specific example.)
Line 3: Line 3:
 
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 SHFT+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:  

Revision as of 21:23, 29 November 2015

Arrow Return.png 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.

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:

Line wrap Wraps a line if it exceeds the window's width. (note that the window's width can be adjusted by dragging its right border.)
Automatically apply rules You do not have to press the ApplyRulesButton.png button.
Apply rules for each line Applies the rule to each line separately.