Difference between revisions of "ReNamer:Managing rules"
m (moved ReNamer:Managing rules in the Rules pane to ReNamer:Managing rules: shorter name) |
|||
Line 3: | Line 3: | ||
=== Adding rules === | === Adding rules === | ||
# Rules can be added by using any of the following methods: | # Rules can be added by using any of the following methods: | ||
− | |||
− | |||
** Click the [[Image:]] button, | ** Click the [[Image:]] button, | ||
** Click inside the '''Rules''' area | ** Click inside the '''Rules''' area | ||
** Press the '''Ins''' key when the ReNamer window is active. | ** Press the '''Ins''' key when the ReNamer window is active. | ||
− | |||
# The '''Add Rule''' window pops up: | # The '''Add Rule''' window pops up: | ||
− | |||
# [[Image:]]Select the desired rule. Its options appears immediately in the Configuration area (at right). | # [[Image:]]Select the desired rule. Its options appears immediately in the Configuration area (at right). | ||
# Set the desired parameters (the [#5.Understanding the rules|outline Rules chapter ]explains parameters of each rule). | # Set the desired parameters (the [#5.Understanding the rules|outline Rules chapter ]explains parameters of each rule). |
Revision as of 12:51, 20 June 2009
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
- Rules can be added by using any of the following methods:
- Click the [[Image:]] button,
- Click inside the Rules area
- Press the Ins key when the ReNamer window is active.
- The Add Rule window pops up:
- [[Image:]]Select the desired rule. Its options appears immediately in the Configuration area (at right).
- Set the desired parameters (the [#5.Understanding the rules|outline Rules chapter ]explains parameters of each rule).
- Press the [[Image:]] 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:]] button at bottom (or the [[Image:]] button at the top right corner).
Removing rules
To remove an existing rule, select it and press DEL or click on the [[Image:]] 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:
- Using the [[Image:]] and [[Image:]] buttons (they are grayed out if there are less than two rules in the pane)
- 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 change the order of rules using any of the following methods:# Double-click on it,
- Right-click on it and select the Edit Rule option
- Select it and press ENTER.
A window similar to the [#3.2.1.Adding rules|outline Add rules][#3.2.1.Adding rules|outline 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.
There are two notable exceptions: The [#4.11.Translit Rule|outline Translit] and [#4.13.PascalScript Rule|outline 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.
Deleting a 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).
Selecting a rule
When a rule is selected, its entire row is highlighted with blue background.
Selected rule | [[Image:]] |
Unselected rule | [[Image:]] |
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.
To select a rule, use any of the following methods:
- Click anywhere in the row except on the check box.
- Use the Up/Down Arrow keys to move the selection to another rule.
Marking and Unmarking a rule
A rule is marked by putting a tick in its check box[[Image:]]. Conversely, it is unmarked by removing the tick [[Image:]].
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-
- Click on the check box.
- [#3.2.5.Selecting a rule|outline Select the rule] and press the Spacebar (on keyboard)
(Repeat of any action toggles the mark/unmark status.)
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 [#5.4.1.General settings|outline reload them automatically each time you start ReNamer]). Then in each session, unmark some rules.