Difference between revisions of "ReNamer:Using presets"

From den4b Wiki
Jump to navigation Jump to search
(Created page with 'Often you have to reuse the same set of rules again and again. <br>For example, first clean up the file name (underscore and hyphens) and then capitalize only the first word. E...')
 
(→‎Locating Presets: Replaced the VirtualStore documentation with a link to Application Data Storage.)
 
(34 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Often you have to reuse the same set of rules again and again. <br>For example, first clean up the file name (underscore and hyphens) and then capitalize only the first word.
+
{{Up|ReNamer}}
  
Each time you would have to compose the rules from scratch. You can avoid such repetitive work by saving the entire set of rules (and optionally the filters) as a '''preset'''. Then you can simply load the set of rules and filters by loading the saved preset.  
+
A "preset" is a set of rules that is saved with a user-defined name. It can optionally save the [[ReNamer:Menus for the Files pane#Filters_menu|Filter setting]] also.  
  
You can save an unlimited number of presets.  
+
You can save frequently used sets of rules as presets, and load them instantly. This saves you a lot of time. Without the presets, you would have to compose the same set of rules each time you start the program. You can create an unlimited number of presets, but in practice, you would normally need about 4-5 presets.
  
{| cellspacing="1" cellpadding="1" border="1" style="width: 744px; height: 187px;"
+
== Shortcuts ==
|-
 
| '''To do this-'''
 
| '''Do this'''
 
|-
 
| Set a new preset
 
| 1. Load the desired rules in the Rules pane, in the desired sequence. Edit the rules.<br>2. Set the Filters (optional).<br>3. Press '''CTRL+S''' (or use the '''Presets&gt;Save As''' menu option)<br>4. A window pops up:<br><center>[[Image:SavePresetDialog.png]]</center><br>5.&nbsp; Enter a new name in the '''Name''' box, or select one of the existing presets listed below to overwrite it.<br>6. Select the check box if you want to save the current filter settings.<br>7. Press the '''Save''' button. The preset is saved. <br>&nbsp;&nbsp;&nbsp; ReNamer automatically assigns shortcuts to all the saved presets in a fixed sequence <br>&nbsp;&nbsp;&nbsp; ('''CTRL+1''', '''CTRL+2''', etc.) (These shortcuts cannot be edited.) <br><br>'''Note:''' At any point of time, you can abort the process by pressing '''ESC'''.
 
|-
 
| Load an existing preset<br>
 
|
 
You can load any of the presets by pressing its shortcut ('''CTRL+1''', etc. see above).<br>You can also select a preset by using the '''Preset &gt; Load''' menu.
 
  
|-
+
ReNamer automatically assigns keyboard shortcuts to presets, so that they can be loaded into the '''Rules''' pane with least effort. Shortcuts have the following form: '''CTRL+1''', '''CTRL+2''', etc. Unfortunately, there are only 9 shortcuts available, one for every digit from 1 to 9.
| Delete an existing preset<br>
 
| Sometimes you may not need a preset any longer. To delete it, follow this process:<br>1. Press '''CTRL+M''' or use the '''Presets &gt; Manage...''' menu option.<br>2. The '''Preset manager''' window pops up:<br><center>[[Image:PresetsManager.png]]</center>3. Select the preset you want to delete and then press '''DEL''' or the [[Image:PresetDeleteButton.png]] button.<br>
 
|-
 
| Rename a preset <br>
 
|
 
To rename a preset, follow this process:<br>1. Press '''CTRL+M''' or use the '''Presets &gt; Manage... '''menu option.<br>2. The Preset manager window pops up:<br>3. Select the preset you want to rename and then press '''F2''' or the&nbsp;[[Image:RenamePresetButton.png]] button.<br>4. The following dialog pops up:<br>[[Image:RenamePresetDialog.png|center]]5. Edit the name (or enter a new name), and press '''OK'''.<br>
 
  
To abort the process at any time, press '''ESC'''.<br>
+
Presets are sorted in alphabetic order. You can manipulate the order of the presets by renaming them. If you want some specific preset to always appear at the top, you can insert an exclamation mark "'''!'''" (or some other symbol that is at the top of the sorting order) in front of the preset name. If you have several presets that you want to push to the top, you can prefix them with something like this: "'''!1'''", "'''!2'''", "'''!3'''", etc.
  
|-
+
== Managing Presets ==
| Edit a preset<br>
 
|
 
The preset manager can show the contents of a preset (i.e., settings of all rules and filters) as editable text. You can simply edit the rules and filters by changing the text. <br>
 
  
To rename a preset, follow this process:<br>1. Press '''CTRL+M''' or use the '''Presets &gt; Manage... '''menu option.<br>2. The '''Preset manager''' window pops up:<br>[[Image:PresetsManager.png|center]]3. Select the preset you want to rename and then press the [[Image:EditPresetButton.png]] button.<br>4. A warning pops up:<br>[[Image:EditPresetWarning.png|center]]5. Click on '''Yes'''. Now a text editor window pops up with the the selected preset:<br>[[Image:PresetEditWindow.png|center]] &nbsp; Notice that-<br>&nbsp; This window shows the preset name in the title bar, and all settings (rules and filters). <br>&nbsp; In each rule, the parameters are shown in '''ParameterName:Value '''format. <br>&nbsp; All such pairs are separated by a semicolon (''';'''). <br>6. Edit the settings and then close the file.&nbsp; A confirmation dialog pops up.<br>[[Image:SaveChangedmpFileDialog.png|center]]7. Click on '''Yes'''. Now the preset is edited.<br>
+
=== Save a preset ===
  
|-
+
# Create a list of rules ([[ReNamer:Managing rules|Managing rules]]).
| Copy a preset
+
# Set the required [[ReNamer:Menus for the Files pane#Filters_menu|Filter settings]] (optional).
|  
+
# Press '''CTRL+S''', or use the '''Presets » Save As''' menu option.
You may want to duplicate an existing preset (e.g. to take a backup of the preset before experimenting).
+
# A window pops up:<br>[[Image:SavePresetDialog.png|center]]
 +
# Enter a new name in the '''Name''' box, or select one of the existing presets listed below to overwrite it.
 +
# Put a tick in the check box if you want to save the current filter settings.
 +
# Press the '''Save''' button. The preset is saved.  
  
To duplicate a peset-
+
'''Note:''' At any point of time, you can abort the process by pressing '''ESC''' or closing the window.
  
1. Press '''CTRL+M''' or use the '''Presets &gt; Manage... '''menu option.<br>2. The '''Preset manager''' window pops up:<br>[[Image:PresetsManager.png|center]]3. Select the preset you want to duplicate and then press the [[Image:CopyPresetButton.png]] button.<br>4. A duplicate copy of the preset is created.
+
=== Load an existing preset ===
  
|}
+
You can load any of the presets by pressing its shortcut ('''CTRL+1''', etc. see above). If you do not remember the shortcuts, use the<span style="font-weight: bold;"> </span>'''Preset » Load''' menu to see the master list of all existing presets and select a preset from that list.The selected preset is loaded.
 +
 
 +
=== Append an existing preset to current set of rules ===
 +
 
 +
You can append any of the presets to the end of the current rules stack. To do it, follow these steps:
 +
# Press '''CTRL+M''' or use the '''Presets » Manage''' menu option.
 +
# The '''Presets manager''' window pops up:<br>[[Image:PresetsManager.png|center]]
 +
# Select the preset you want to append and then press the [[Image:Append_preset_button.png]] button.
 +
# Close the '''Preset Manager''' window.
 +
 
 +
Alternatively, you can also quickly append a preset by holding down the SHIFT key when loading it via the '''Presets » Load''' menu option. This feature is available from ''v7.1.0.6 Beta''.
 +
 
 +
=== Delete an existing preset ===
 +
 
 +
Sometimes you may not need a preset any longer. To delete it, follow these steps:
 +
# Press '''CTRL+M''' or use the '''Presets » Manage''' menu option.
 +
# The '''Presets manager''' window pops up:<br>[[Image:PresetsManager.png|center]]
 +
# Select the preset you want to delete and then press '''DEL''' key or the [[Image:PresetDeleteButton.png]] button.
 +
# Close the '''Preset Manager''' window.
 +
 
 +
=== Rename a preset ===
 +
 
 +
To rename a preset, follow these steps:
 +
# Press '''CTRL+M''' or use the '''Presets » Manage''' menu option.
 +
# The Preset manager window pops up.
 +
# Select the preset you want to rename and then press '''F2''' or the [[Image:RenamePresetButton.png]] button.
 +
# The following dialog pops up:<br>[[Image:RenamePresetDialog.png|center]]
 +
# Edit the name (or enter a new name), and press '''OK''' or '''ENTER'''.
 +
 
 +
To abort the process at any time, press '''ESC''' or close the window.
 +
 
 +
=== Edit a preset ===
 +
 
 +
Modifications to presets are normally done by changing the rules in the Rules pane of the main interface, and then re-saving the preset. However, there is another method of editing presets in the Presets Manager.
 +
 
 +
'''Warning:''' Manually editing preset files is not a supported method of editing presets, you are on your own here!
 +
 
 +
To edit a preset, follow these steps:
 +
 
 +
# Press '''CTRL+M''' or use the '''Presets » Manage''' menu option.
 +
# The '''Presets manager''' window pops up:<br>[[Image:PresetsManager.png|center]]
 +
# Select the preset you want to edit and then press '''F4''' or the [[Image:EditPresetButton.png]] button.
 +
# A warning pops up to confirm that you understand the risks of manually editing a preset file.
 +
# Once you confirm, a Notepad (text editor) window pops up with the selected preset:<br>[[Image:PresetEditWindow.png|center]]
 +
#: Notice that:
 +
#:* This window shows the preset name in the title bar, and all settings (rules and filters) as plain text.
 +
#:* In each rule, the parameters are shown in '''Name:Value''' format.
 +
#:* All such pairs are separated by a semicolon (''';''').
 +
#:* Parameter values are [//en.wikipedia.org/wiki/Percent-encoding URL-encoded]
 +
# Edit the content of a preset file and save the changes.
 +
 
 +
=== Copy a preset ===
 +
 
 +
You may want to duplicate an existing preset and create a variation by editing it (or just take a backup of the preset before experimenting with it).
 +
 
 +
To duplicate a preset, follow these steps:
 +
 
 +
# Press '''CTRL+M''' or use the '''Presets » Manage''' menu option.
 +
# The '''Presets manager''' window pops up:<br>[[Image:PresetsManager.png|center]]
 +
# Select the preset you want to duplicate and then press the [[Image:CopyPresetButton.png]] button.
 +
# A duplicate copy of the preset is created.
 +
# Now go ahead and edit the original present (or its copy).
 +
# Finally close the '''Presets Manager''' window.
 +
 
 +
== Presets directory structure ==
 +
 
 +
The preset files can be structured in a directory hierarchy, as opposed to having them all in a single folder. This feature is intended to simply the management of a large collection of presets.
 +
 
 +
[[File:ReNamer presets directory structure.png]]
 +
 
 +
To save a preset in a directory structure you just need to specify the structured path when saving a preset.
 +
 
 +
For example, "Folder\Preset" will save a preset by name "Preset" in a folder by name "Folder".
 +
 
 +
Alternatively, you can browse to the presets folder and arrange them using the Windows Explorer.
 +
 
 +
== Locating Presets ==
 +
 
 +
Presets are stored as plain text files, located in the "Presets" folder. In a portable version, this "Presets" folder is in the same directory as "ReNamer.exe". In an installer version, it is normally located in Windows user profile folder.
 +
 
 +
You can tell by launching ReNamer and opening the Presets Manager: "Presets > Manage..." (Ctrl+P). In the top you will see the path to the presets folder (see pictures above). There is also a menu item "Presets > Browse..." which will open Windows Explorer with the Presets folder in view.
 +
 
 +
To backup or transfer the stored presets to an another location or PC, simply copy *.rnp files and you are done.
 +
 
 +
See also [[Application Data Storage]] for additional information on locating your application data.
 +
 
 +
== Transfer presets ==
 +
 
 +
How to transfer presets between computers or between multiple installations of ReNamer?
 +
 
 +
Open ReNamer on the source computer, go to the ''Main Menu » Presets » Browse''. A file browser window should open at the location where your preset files are stored. You can copy these files and then import them into ReNamer on the target computer by either manually placing the files in the presets directory or using the ''Main Menu » Presets » Import''.
 +
 
 +
[[Category:ReNamer]]

Latest revision as of 19:36, 17 December 2020

Arrow Return.png ReNamer  

A "preset" is a set of rules that is saved with a user-defined name. It can optionally save the Filter setting also.

You can save frequently used sets of rules as presets, and load them instantly. This saves you a lot of time. Without the presets, you would have to compose the same set of rules each time you start the program. You can create an unlimited number of presets, but in practice, you would normally need about 4-5 presets.

Shortcuts

ReNamer automatically assigns keyboard shortcuts to presets, so that they can be loaded into the Rules pane with least effort. Shortcuts have the following form: CTRL+1, CTRL+2, etc. Unfortunately, there are only 9 shortcuts available, one for every digit from 1 to 9.

Presets are sorted in alphabetic order. You can manipulate the order of the presets by renaming them. If you want some specific preset to always appear at the top, you can insert an exclamation mark "!" (or some other symbol that is at the top of the sorting order) in front of the preset name. If you have several presets that you want to push to the top, you can prefix them with something like this: "!1", "!2", "!3", etc.

Managing Presets

Save a preset

  1. Create a list of rules (Managing rules).
  2. Set the required Filter settings (optional).
  3. Press CTRL+S, or use the Presets » Save As menu option.
  4. A window pops up:
    SavePresetDialog.png
  5. Enter a new name in the Name box, or select one of the existing presets listed below to overwrite it.
  6. Put a tick in the check box if you want to save the current filter settings.
  7. Press the Save button. The preset is saved.

Note: At any point of time, you can abort the process by pressing ESC or closing the window.

Load an existing preset

You can load any of the presets by pressing its shortcut (CTRL+1, etc. see above). If you do not remember the shortcuts, use the Preset » Load menu to see the master list of all existing presets and select a preset from that list.The selected preset is loaded.

Append an existing preset to current set of rules

You can append any of the presets to the end of the current rules stack. To do it, follow these steps:

  1. Press CTRL+M or use the Presets » Manage menu option.
  2. The Presets manager window pops up:
    PresetsManager.png
  3. Select the preset you want to append and then press the Append preset button.png button.
  4. Close the Preset Manager window.

Alternatively, you can also quickly append a preset by holding down the SHIFT key when loading it via the Presets » Load menu option. This feature is available from v7.1.0.6 Beta.

Delete an existing preset

Sometimes you may not need a preset any longer. To delete it, follow these steps:

  1. Press CTRL+M or use the Presets » Manage menu option.
  2. The Presets manager window pops up:
    PresetsManager.png
  3. Select the preset you want to delete and then press DEL key or the PresetDeleteButton.png button.
  4. Close the Preset Manager window.

Rename a preset

To rename a preset, follow these steps:

  1. Press CTRL+M or use the Presets » Manage menu option.
  2. The Preset manager window pops up.
  3. Select the preset you want to rename and then press F2 or the RenamePresetButton.png button.
  4. The following dialog pops up:
    RenamePresetDialog.png
  5. Edit the name (or enter a new name), and press OK or ENTER.

To abort the process at any time, press ESC or close the window.

Edit a preset

Modifications to presets are normally done by changing the rules in the Rules pane of the main interface, and then re-saving the preset. However, there is another method of editing presets in the Presets Manager.

Warning: Manually editing preset files is not a supported method of editing presets, you are on your own here!

To edit a preset, follow these steps:

  1. Press CTRL+M or use the Presets » Manage menu option.
  2. The Presets manager window pops up:
    PresetsManager.png
  3. Select the preset you want to edit and then press F4 or the EditPresetButton.png button.
  4. A warning pops up to confirm that you understand the risks of manually editing a preset file.
  5. Once you confirm, a Notepad (text editor) window pops up with the selected preset:
    PresetEditWindow.png
    Notice that:
    • This window shows the preset name in the title bar, and all settings (rules and filters) as plain text.
    • In each rule, the parameters are shown in Name:Value format.
    • All such pairs are separated by a semicolon (;).
    • Parameter values are URL-encoded
  6. Edit the content of a preset file and save the changes.

Copy a preset

You may want to duplicate an existing preset and create a variation by editing it (or just take a backup of the preset before experimenting with it).

To duplicate a preset, follow these steps:

  1. Press CTRL+M or use the Presets » Manage menu option.
  2. The Presets manager window pops up:
    PresetsManager.png
  3. Select the preset you want to duplicate and then press the CopyPresetButton.png button.
  4. A duplicate copy of the preset is created.
  5. Now go ahead and edit the original present (or its copy).
  6. Finally close the Presets Manager window.

Presets directory structure

The preset files can be structured in a directory hierarchy, as opposed to having them all in a single folder. This feature is intended to simply the management of a large collection of presets.

ReNamer presets directory structure.png

To save a preset in a directory structure you just need to specify the structured path when saving a preset.

For example, "Folder\Preset" will save a preset by name "Preset" in a folder by name "Folder".

Alternatively, you can browse to the presets folder and arrange them using the Windows Explorer.

Locating Presets

Presets are stored as plain text files, located in the "Presets" folder. In a portable version, this "Presets" folder is in the same directory as "ReNamer.exe". In an installer version, it is normally located in Windows user profile folder.

You can tell by launching ReNamer and opening the Presets Manager: "Presets > Manage..." (Ctrl+P). In the top you will see the path to the presets folder (see pictures above). There is also a menu item "Presets > Browse..." which will open Windows Explorer with the Presets folder in view.

To backup or transfer the stored presets to an another location or PC, simply copy *.rnp files and you are done.

See also Application Data Storage for additional information on locating your application data.

Transfer presets

How to transfer presets between computers or between multiple installations of ReNamer?

Open ReNamer on the source computer, go to the Main Menu » Presets » Browse. A file browser window should open at the location where your preset files are stored. You can copy these files and then import them into ReNamer on the target computer by either manually placing the files in the presets directory or using the Main Menu » Presets » Import.