Difference between revisions of "ReNamer:Managing rules"

From den4b Wiki
Jump to navigation Jump to search
(→‎Adding rules: removed some small button images)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This section explains how to add rules, remove rules, edit a rule and change the order in which they are applied to files and folders.
+
{{Go|up=ReNamer:Step-by-step|prev=ReNamer:Adding files and folders|next=ReNamer:Previewing files}}
  
=== Adding rules ===
+
This section explains how to add rules, remove rules, edit a rule and change the order in which they are applied to files and folders.  
# Rules can be added by using any of the following methods:
 
#* Click the [[Image:AddRuleButton.png ]] button,
 
#* Click inside the '''Rules''' area
 
#* Press the '''Ins''' key when the ReNamer window is active.
 
# The '''Add Rule''' window pops up:
 
#:<center>[[Image:HowAddRulesWorks.png]]</center>
 
#:Select the desired rule.
 
# The options for the selected rule appear immediately in the '''Configuration''' area (at right).
 
#: Set the desired parameters, as explained in each rule.
 
# Press the [[Image:AddRuleButton.png]] button at the bottom of the window. The rule is added to the stack.The window stays open, and allows you to add more rules.
 
# Repeat steps 1-5 to add more rules. Each new rule is added at the end of the stack.
 
# To close the window, press the [[Image:CloseButton.png]] button at bottom (or the [[Image:CloseWindowButton.png]] button at the top right corner).
 
  
=== Removing rules ===
+
=== Adding rules ===
To remove an existing rule, select it and press '''DEL''' or click on the [[Image:RemoveButton.png]] button.
 
  
=== Changing the order of the rules ===
+
#Rules can be added by using any of the following methods:
All rules are applied to each file in the order they appear. Even with the same set of rules, the end-result can be very different if the order of the rules is changed.
+
#*Click the [[Image:AddRuleButton.png]] button,
 +
#*Click inside the '''Rules''' area,
 +
#*Press the '''Ins''' key when the ReNamer window is active.
 +
#The '''Add Rule''' window pops up:
 +
#:<center>[[Image:HowAddRulesWorks.png]]</center>
 +
#:[[ReNamer:Managing_rules#Selecting_a_rule|Select]] the desired rule.
 +
#The options for the selected rule appear immediately in the '''Configuration''' area (at right).  
 +
#:Set the desired parameters, as explained in each rule.
 +
#Press the [[Image:AddRuleButton.png]] button at the bottom of the window. The rule is added to the stack and the window is closed.
 +
#Repeat steps 1-5 to add more rules. Each new rule is added at the end of the stack.
 +
# To close the window without adding a rule press the "Close" button (or the window close icon at the top right corner).
  
You can change the order of rules using any of the following methods:
+
=== Removing (deleting) rules ===
  
# Using the [[Image:UpButton.png]] and [[Image:DownButton.png]] buttons (they appear only when there are two or more rules in the pane)
+
To remove an existing rule, [[ReNamer:Managing rules#Selecting_a_rule|select]] it and press '''DEL''' or click on the [[Image:RemoveButton.png]] button.
# Drag-and-drop any rule with mouse.
 
  
=== Editing rules ===
+
=== Changing the order of the rules ===
Editing a rule means changing its parameters and options, and then saving the rule.
 
  
You can edit a rule using any of the following methods:
+
All rules are applied to each file in the order they appear. Even with the same set of rules, the end-result can be very different if the order of the rules is changed.  
# Double-click on it,
 
# Right-click on it and select the '''Edit Rule '''option
 
# Select it and press '''ENTER.'''
 
  
A window similar to the '''Add Rules''' window appears. There are only ''two'' minor differences: The button at the bottom is titled '''Save Rule''', and the rules list in the left pane is grayed out (because you are not supposed to select rules in this window.)
+
You can change the order of rules using any of the following methods:
  
Change the parameters and options, and press the '''Save Rule '''button.
+
#Using the [[Image:UpButton.png]] and [[Image:DownButton.png]] buttons.
 +
#Pressing '''CTRL''' + '''Up/Down''' arrows.
 +
#Drag-and-drop any rule with mouse.
  
* There are two notable exceptions: The [http://den4b.com/wiki/index.php/ReNamer:Rules:Translit Translit] and [http://den4b.com/wiki/index.php/ReNamer:Rules:PascalScript PascalScript] rules are actually ''collections'' of individual rules. You have to select an individual Translit rule or Pascal script and edit it. So the above description does not apply to those rules. Click on the hyperlinks above to see how to edit these two rules.
+
=== Editing rules ===
  
=== Deleting a rule ===
+
Editing a rule means changing its parameters and options, and then saving the rule.  
To delete a rule, select it and press the '''DEL''' key.
 
  
You can select multiple rules and then delete them at a time (press '''DEL''').
+
You can edit a rule using any of the following methods:
  
=== Selecting a rule ===
+
#Double-click on it,  
When a rule is selected, its entire row is highlighted with blue background.
+
#Right-click on it and select the '''Edit Rule '''option
{| class="prettytable"
+
#[[ReNamer:Managing rules#Selecting_a_rule|Select]] it and press '''ENTER.'''
| Selected rule
 
| [[Image:SelectedRule.png]]
 
  
|-
+
A window similar to the '''Add Rules''' window appears. There are only ''two'' minor differences: the button at the bottom is titled '''Save Rule''', and the rules list in the left pane is grayed out (because you are not supposed to select rules in this window).
| Unselected rule
 
| [[Image:UnselectedRule.png]]
 
  
|}
+
Change the parameters and options, and press the '''Save Rule '''button or '''ENTER'''.
Only one rule can be selected at a time.
 
  
You can select multiple rules and carry out certain actions on all these rules in one stroke.
+
=== Selecting a rule  ===
  
To select a rule, use any of the following methods:
+
When a rule is selected, its entire row is highlighted. Only one rule can be selected at a time.
  
# Click anywhere in the row except on the check box.
+
To select a rule, use any of the following methods:
# Use the Up/Down Arrow keys on your keyboard to move the selection to another rule.
 
  
=== Marking and Unmarking a rule ===
+
# Click anywhere in the row except on the check box.  
A rule is marked by putting a tick in its check box[[Image:CheckedCheckbox.png]]. Conversely, it is unmarked by removing the tick [[Image:UncheckedCheckbox.png]].
+
# Use the Up and Down arrow keys on your keyboard to move the selection to another rule.
  
ReNamer uses only the ''marked'' rules for the ''preview'' and ''renaming'' operations.
+
=== Marking and Unmarking a rule  ===
  
So unmarking a rule is useful to temporarily disable the rule; ''without'' having to remove it from the '''Rules''' pane.
+
A rule is marked by putting a tick in its check box[[Image:CheckedCheckbox.png]]. Conversely, it is unmarked by removing the tick [[Image:UncheckedCheckbox.png]].  
  
To mark/unmark the rules-
+
ReNamer uses only the ''marked'' rules for the ''preview'' and ''renaming'' operations.
  
# Click on the check box.
+
So unmarking a rule is useful to temporarily disable the rule ''without'' having to remove it from the '''Rules''' pane.
# Select a rule and press the '''Spacebar''' (on your keyboard)
+
 
 +
To mark/unmark the rules:
 +
 
 +
#Click on the check box.  
 +
#[[ReNamer:Managing_rules#Selecting_a_rule|Select]] a rule and press the '''Spacebar''' (on your keyboard)
  
 
(Repeat of any of these actions toggles the marked/unmarked status.)  
 
(Repeat of any of these actions toggles the marked/unmarked status.)  
  
The reasons for unmarking a rule are:
+
The reasons for unmarking a rule are:  
 +
 
 +
#You want to remove the effect of a rule and see what happens to the files.
 +
#You have a favorite set of rules that you use often. However, you need to remove a few rules in some cases. A trick is to save the superset of rules and reload them automatically each time you start ReNamer. Then in each session, unmark some rules.
  
# You want to remove the effect of a rule and see what happens to the files.
+
[[Category:ReNamer]]
# You have a favorite set of rules that you use often. However, you need to remove a few rules in some cases. A trick is to save the superset of rules and reload them automatically each time you start ReNamer). Then in each session, unmark some rules.
 

Latest revision as of 22:32, 22 March 2014

This section explains how to add rules, remove rules, edit a rule and change the order in which they are applied to files and folders.

Adding rules

  1. Rules can be added by using any of the following methods:
    • Click the AddRuleButton.png button,
    • Click inside the Rules area,
    • Press the Ins key when the ReNamer window is active.
  2. The Add Rule window pops up:
    HowAddRulesWorks.png
    Select the desired rule.
  3. The options for the selected rule appear immediately in the Configuration area (at right).
    Set the desired parameters, as explained in each rule.
  4. Press the AddRuleButton.png button at the bottom of the window. The rule is added to the stack and the window is closed.
  5. Repeat steps 1-5 to add more rules. Each new rule is added at the end of the stack.
  6. To close the window without adding a rule press the "Close" button (or the window close icon at the top right corner).

Removing (deleting) rules

To remove an existing rule, select it and press DEL or click on the RemoveButton.png button.

Changing the order of the rules

All rules are applied to each file in the order they appear. Even with the same set of rules, the end-result can be very different if the order of the rules is changed.

You can change the order of rules using any of the following methods:

  1. Using the UpButton.png and DownButton.png buttons.
  2. Pressing CTRL + Up/Down arrows.
  3. Drag-and-drop any rule with mouse.

Editing rules

Editing a rule means changing its parameters and options, and then saving the rule.

You can edit a rule using any of the following methods:

  1. Double-click on it,
  2. Right-click on it and select the Edit Rule option
  3. Select it and press ENTER.

A window similar to the Add Rules window appears. There are only two minor differences: the button at the bottom is titled Save Rule, and the rules list in the left pane is grayed out (because you are not supposed to select rules in this window).

Change the parameters and options, and press the Save Rule button or ENTER.

Selecting a rule

When a rule is selected, its entire row is highlighted. Only one rule can be selected at a time.

To select a rule, use any of the following methods:

  1. Click anywhere in the row except on the check box.
  2. Use the Up and Down arrow keys on your keyboard to move the selection to another rule.

Marking and Unmarking a rule

A rule is marked by putting a tick in its check boxCheckedCheckbox.png. Conversely, it is unmarked by removing the tick UncheckedCheckbox.png.

ReNamer uses only the marked rules for the preview and renaming operations.

So unmarking a rule is useful to temporarily disable the rule without having to remove it from the Rules pane.

To mark/unmark the rules:

  1. Click on the check box.
  2. Select a rule and press the Spacebar (on your keyboard)

(Repeat of any of these actions toggles the marked/unmarked status.)

The reasons for unmarking a rule are:

  1. You want to remove the effect of a rule and see what happens to the files.
  2. You have a favorite set of rules that you use often. However, you need to remove a few rules in some cases. A trick is to save the superset of rules and reload them automatically each time you start ReNamer. Then in each session, unmark some rules.