ReNamer:Quick Guide

From den4b Wiki
Revision as of 12:06, 26 May 2009 by Den4b (talk | contribs) (cleanup template inserted)
Jump to navigation Jump to search
{{{iparam}}} This article needs to be cleaned up!

Using ReNamer In the previous chapter, we saw how to use ReNamer in four steps. We will explore each of those steps more detail here. Placing files and folders in Renamer's work area In this section, we will see how to place files and folders in ReNamer's working area (also called the “Files pane”). This consists of (a) adding files and folders, (b) removing some files from the pane, and (c) Changing the order of files in the pane. ReNamer has multiple methods for adding files and folders to its work area (the Files pane): The button adds only the selected files and subfolders in a folder. Use it to make finer selections. The button adds all the files in a folder (i.e., bulk-selection). It also has filtering options to control what is added to the Files pane. Copy files/folders from Windows Explorer (or any other application).and paste them in ReNamer Drag and drop files and folders into the Files pane (from Windows Explorer or any other application). You can build a collection of files/folders using any or all of these methods. In fact, you can use these methods multiple times. Further, you can change the Filter option for the button each time. The following sections show details of each method: Adding files using the 'Add Files' button 1.Press the button. The following window pops up: 2.Navigate to the required folder and select files. To select multiple files, use CTRL and SHIFT keys while clicking on the files (CTRL key to select non-adjacent files; SHFT key to select adjacent files). 3.Press OK. The selected files are added to ReNamer's Files pane. 4.Repeat steps 1-3 to load files from other folders (as required). Adding items using the 'Add Folders' button 1.To add all the files belonging to a folder, press the button. The following window pops up:

2.ReNamer changes its behavior based on the filter settings. Therefore, before adding any folders, first set this behavior, by pressing the button. The settings are described in Appendix-B. 3.Depending on your selected options in this window, the Add folders window adds different items to ReNamer's work area. Navigate to the desired folder and press the Add Folders button. Adding files using the Drag-and-drop method Select the files in any application and drag-and-drop into ReNamer's Files pane. To drag-and-drop, click on your file selection with LMB. Without releasing the LMB, start moving the mouse. Now bring the mouse pointer over the ReNamer's Files pane, and then release the LMB. If the ReNamer's window is not visible, first drag your selection onto ReNamer's task button in Windows Task toolbar (located at the bottom of your screen). Wait for a couple of seconds without releasing the LMB. The ReNamer window pops up, and stays above the other applications' windows on your screen. Now you can move your mouse over the ReNamer window and drop your selection in its Files pane. You can also use the ReNamer's program settings to keep its window above the other windows, so even when you are working in the other applications, the ReNamer window stays on top of the other applications' windows. Adding files using the copy-and-paste method Select the files in any application and press CTRL+C to copy them in the clipboard. Now switch to ReNamer and press SHIFT+CTRL+V. Note that- 1.The keyboard shortcut is NOT the usual CTRL+V. 2.It is not necessary to click inside the Files pane for the paste operation. Removing files or folders from pane If you have added more files by mistake, you can remove them easily. Just select them and press the DEL key. (This only removes the files/folders from the ReNamer- It does not delete them from the disk!) To select the items, you can use the following methods: Click on the files (press SHIFT first to select adjacent files; and CTRL to select non-adjacent files). Clicking again on an item toggles its selection on/off. Draw a “lasso” (rectangle) with mouse. All items covered by the rectangles get selected. Changing the order of the files in the pane Certain rules (e.g. serialized file names) act on the list of the files from top to bottom order (as opposed to acting on each file independently). In such cases, each files gets its name based on its position in the list. (For example, the nth file in the list is named “Track-n.mp3”.) Normally, the files are listed in the order you added them to the pane (the most recently added file goes to the bottom of the list). But you can change the position of the files in the list name them in a certain way. To change the position of any file, just click on the file and drag it to the new position. You can select multiple files and drag them to the new position at a time. Selecting files When a file is selected, its entire row is highlighted with blue background. Selected file

Unselected file

ReNamer allows you to carry out specific operations on selected files. You can select one or more files by the following methods: 1.Click anywhere in the row except on the check box. To select non-adjacent files, press CTRL and then click on individual rows. To select files listed in adjacent rows, first click on the row at one end, then keep the SHFT pressed down, and click on the row at the other end. 2.Draw a “lasso” (rectangle) with the mouse in the Files pane. All the rows touched by the rectangle are selected. If you repeat these actions on an item, they toggle the selection status (selected ←→ unselected). When only one row is selected, use Up/Down Arrow keys to change the selection to another row. Marking and Unmarking the files A file is “marked” by putting a tick in its check box . Conversely, it is “unmarked” by removing the tick . ReNamer acts only on the marked files. An unmarked file is neither previewed nor renamed. So unmarking a file is useful to exempt a file from renaming without having to remove it from the Files pane. To mark/unmark the files- 1.Click on the check box. 2.Select the file and press the Spacebar (on keyboard) (Repeat of these actions on any item toggles its mark/unmark status.) Note that the “marked/unmarked” status of a file has no relation with its “selected/unselected” status. Managing rules in the Rules pane 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 button, Click inside the Rules area Press the Ins key when the ReNamer window is active. 2.The Add Rule window pops up:

3.Select the desired rule. Its options appears immediately in the Configuration area (at right). 4.Set the desired parameters (the Rules chapter explains parameters of each rule). 5.Press the 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. 6.Repeat steps 1-5 to add more rules. Each new rule is added at the end of the stack. 7.To close the window, press the button at bottom (or the button at the top right corner). Removing rules To remove an existing rule, select it and press DEL or click on the 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 and buttons (they are grayed out if there are less than two rules in the pane) 2.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: 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. There are two notable exceptions: The Translit and 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

Unselected rule

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: 1.Click anywhere in the row except on the check box. 2.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. Conversely, it is “unmarked” by removing the tick . 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- 3.Click on the check box. 4.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: 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. Previewing the renamed files ReNamer shows a preview of the files, so that you can decide whether your rules are working as expected. If some files show unexpected results, edit some of the rules and check again. Let us see how preview works in the example below. There are two rules in the stack. The first rule strips brackets and its contents. It also replaces , _ and %20 with a space, and fixes multiple spaces in the name. The second rule capitalizes the first letter of the name and makes all other letters small. The preview shows that- In the Files pane, the State column shows whether the renaming will face any problems. In this case, the green arrows show that the files are 'ready to go!', but in case anything is wrong, those files are marked with . The New Name column shows a preview of the new names. The first name is unchanged; so it is shown in black. The remaining two names are affected by the rules; so they are shown in red. The check boxes in the Rules pane allow you to disable any rule temporarily. (Disable one of the rules and see the effect on the renaming.) The check boxes in the Files pane allow you to exempt any file/folder from the current renaming. New names are not shown for such unselected files. Note that ReNamer has many program options for previewing. Its behavior will vary greatly based on those settings. For example, you can set it to refresh the preview when new files and/or rules are added. If you do not select auto preview mode, you must press the button to see the preview. This is actually useful if you do not want to miss out the subtle changes that can happen to the file names when you are adding new rules. Renaming the files When the button is pressed, the following things happen: 1.The marked rules are applied to the marked files. Those files are renamed. 2.The New Name column becomes empty (because it shows a proposed new name temporarily; and once the file is renamed, there is no proposed new name left.) After the renaming is over, ReNamer can do a lot of other things depending on the program settings for renaming. For example, do you want to automatically clear off the Rules and/or the Files pane? Do you want to close the ReNamer window automatically? When is a file considered “renamed successfully”? Look at the first file (“Unchanged file.doc”)in the above screenshot. That file is not affected by the current set of rules. Yet, so far as ReNamer is concerned, all the marked rules were applied to it, and so ReNamer considers that this file was successfully renamed. Each renaming operation can have four different outcomes:

Outcome Is it considered as successful renaming? 1 A file that was deselected (i.e., was not marked for the current round of renaming) No 2 A file name that was changed when the rules were applied. Yes 3 A file name that did not change when the rules were applied. Yes 4 A file name that caused error when the rules were applied. (e.g. invalid file name, name conflict, etc.) No The program settings for renaming also decide what ReNamer will do with the files based on their outcome. For example, do you want to clear off the files that were NOT renamed in the current round of renaming?