ReNamer:Using presets: Difference between revisions

From den4b Wiki
Jump to navigation Jump to search
(→‎Append an existing preset to current set of rules: Hold SHIFT key to append a preset)
(Restructure sections, rephrase the introduction)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Up|ReNamer}}
{{Go|up=ReNamer|next=ReNamer:Presets Manager}}


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.  
A "preset" is a set of rules that is saved with a user-defined name. It can also save custom [[ReNamer:Filter_settings|filter settings]].  


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.
You can save frequently used rules as presets, and load them up on demand. You can also use saved presets for unattended renaming via [[ReNamer:Command Line|command line options]].


== Shortcuts ==
== Save a preset ==


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.
How to create a preset:


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.
# [[ReNamer:Managing rules|Create a list of rules]].
 
# Configure [[ReNamer:Menus for the Files pane#Filters_menu|filter settings]], if necessary.
== Managing Presets ==
# Press '''CTRL + S''', or use the '''Presets » Save As''' menu option.
 
# A window pops up:<br>[[Image:SavePresetDialog.png]]
=== Save a preset ===
 
# Create a list of rules ([[ReNamer:Managing rules|Managing rules]]).
# Set the required [[ReNamer:Menus for the Files pane#Filters_menu|Filter settings]] (optional).
# Press '''CTRL+S''', or use the '''Presets &gt; Save As''' menu option.
# 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.
# 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.
# Put a tick in the check box if you want to save the current filter settings.
# Press the '''Save''' button. The preset is saved.  
# 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.
You can abort the process by pressing the '''ESC''' key or closing the window.


=== Load an existing preset ===
== Load a 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 &gt; Load''' menu to see the master list of all existing presets and select a preset from that list.The selected preset is loaded.
Saved presets can be loaded via the '''Presets » Load''' menu or via the [[ReNamer:Presets Manager|Presets Manager]].


=== Append an existing preset to current set of rules ===
For quick access, the top 9 presets can be loaded via '''CTRL + 1''' through '''CTRL + 9''' shortcut keys. Presets are sorted alphabetically, so you can rearrange their order by renaming them.


You can append any of the presets to the end of the current rules stack. To do it, follow these steps:
When you load a new preset you lose the current set of rules, if you had any.
# 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''.
You can also append rules from an existing preset to the current set of rules by holding down the '''SHIFT''' key when lading a preset via the '''Presets » Load''' menu. This feature is available since ''v7.1.0.6 Beta''.


=== Delete an existing preset ===
== Manage presets ==


Sometimes you may not need a preset any longer. To delete it, follow these steps:
The [[ReNamer:Presets Manager|Presets Manager]] offers several options for managing your collection of presets, including loading, merging, duplicating, renaming and deleting.
# Press '''CTRL+M''' or use the '''Presets &gt; 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 ===
You can access it via the '''Presets » Manage''' menu option or using the '''CTRL + P''' shortcut from the main window.


To rename a preset, follow these steps:
[[File:PresetsManager.png]]
# Press '''CTRL+M''' or use the '''Presets &gt; 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 &gt; 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 &gt; 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 ==
== Presets directory structure ==
Line 103: Line 49:
Alternatively, you can browse to the presets folder and arrange them using the Windows Explorer.
Alternatively, you can browse to the presets folder and arrange them using the Windows Explorer.


== Locating Presets ==
== Locate 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.
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.
Line 111: Line 57:
To backup or transfer the stored presets to an another location or PC, simply copy *.rnp files and you are done.
To backup or transfer the stored presets to an another location or PC, simply copy *.rnp files and you are done.


=== VirtualStore ===
See also [[Application Data Storage]] for additional information on locating your application data.
 
'''''Note:''' This section applies only to older versions of ReNamer, prior to version 6.0.0.7 Alpha!''
 
If ReNamer is installed in a protected folder such as ''Program Files'' on Windows Vista, 7 or 8, the Presets folder will be placed in so called ''VirtualStore'' by the User Account Control (UAC) system.
 
To access the ''VirtualStore'' folder open Windows Explorer and type in the address bar:
* <tt>%LOCALAPPDATA%\VirtualStore</tt>
 
The actual path to the ''VirtualStore'' can differ. Here are few examples:
* <tt>C:\Users\<USERNAME>\AppData\Local\VirtualStore\Program Files (x86)\ReNamer\Presets\*.rnp</tt>
* <tt>C:\Users\<USERNAME>\AppData\Local\VirtualStore\Program Files\ReNamer\Presets\*.rnp</tt>
* <tt>C:\Benutzer\<USERNAME>\AppData\...</tt> (for German version of Windows)


== Transfer presets ==
== Transfer presets ==

Latest revision as of 01:15, 3 March 2025

A "preset" is a set of rules that is saved with a user-defined name. It can also save custom filter settings.

You can save frequently used rules as presets, and load them up on demand. You can also use saved presets for unattended renaming via command line options.

Save a preset

How to create a preset:

  1. Create a list of rules.
  2. Configure filter settings, if necessary.
  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.

You can abort the process by pressing the ESC key or closing the window.

Load a preset

Saved presets can be loaded via the Presets » Load menu or via the Presets Manager.

For quick access, the top 9 presets can be loaded via CTRL + 1 through CTRL + 9 shortcut keys. Presets are sorted alphabetically, so you can rearrange their order by renaming them.

When you load a new preset you lose the current set of rules, if you had any.

You can also append rules from an existing preset to the current set of rules by holding down the SHIFT key when lading a preset via the Presets » Load menu. This feature is available since v7.1.0.6 Beta.

Manage presets

The Presets Manager offers several options for managing your collection of presets, including loading, merging, duplicating, renaming and deleting.

You can access it via the Presets » Manage menu option or using the CTRL + P shortcut from the main window.

PresetsManager.png

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.

Locate 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.