#11 2008-06-04 22:03

Fathom
Member
From: Boulder, CO USA
Registered: 2007-05-10
Posts: 29

Re: Preset Feature Requests

So far so good big_smile, but...
I would greatly appreciate other settings be included in the presets:
    "Use natural sorting algorithm"
     Preview settings
 
case #1:  For one preset I need "Natural Sort" and most "Preview" settings disabled to greatly speed up process (often used on >10,000 files, 100GB at a time).  You might imagine how long it takes just for the previews... hmm

case #2:  For another group of presets not having "Natural Sort" setting enabled can absolutely destroy data usefulness by jumbling audiobook track numbers. mad  And not having certain preview settings/warnings enabled can sometimes cause other very frustrating results with some file/folder name conflicts/duplications (I have not been proficient enough with PascalScript to protect against this and must rely upon preview for warning). sad

Fathom

The first preset mentioned restores folder "modified" dates (using date of a specific file type in the folder). These folder dates get changed by another program on occasion.
The second preset does complex manipulations to various formats of audio book titles and their track numbers bringing them into a well organized and consistent single format.

Offline

#12 2008-06-21 14:11

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Preset Feature Requests

Unfortunately I cannot save/load general settings to/from the preset, at least for now.

In your case, you can create a copy of ReNamer.exe and call it ReNamer-fast-preview.exe, which will use a separate ReNamer-fast-preview.ini configuration file. In this way, you can tell them to use different preview options, and they will both still have access to the same presets.

Offline

#13 2008-06-23 03:58

Fathom
Member
From: Boulder, CO USA
Registered: 2007-05-10
Posts: 29

Re: Preset Feature Requests

That's what I have done but still have to rely on each users memory for each preset.

Today I took it a step further and installed ReNamer to two different program folders.  This way I isolate the presets with different requirements to different preset folders, and hopefully avoid future accidents by not finding the preset if I run the wrong executable.

ReNamer is so compact multiple installs is no problem even on a USB drive.

Thanks for the update.  Maybe someday... This is still the best thing going big_smile

Offline

#14 2008-07-22 00:39

eR@SeR
Senior Member
From: Земун, Србија
Registered: 2008-01-23
Posts: 354

Re: Preset Feature Requests

* Added ability to save Filter Settings together with a Preset;
* Added split panel in status bar to display current preset and modification sign;

Just to note that when is clicked "Count marked and selected files" in down-left corner "selected" isn't shown properly i.e. it is impossible to see digit of selected files.

Split panel could be moved to the middle... Or, by mine opinion, option "Count marked and selected files" could be removed and by default should shown instantly marked-selected files wink


TRUTH, FREEDOM, JUSTICE and FATHERLAND are the highest morale values which human is born, lives and dies for!

Offline

#15 2008-07-31 15:58

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Preset Feature Requests

eR@SeR wrote:

"Count marked and selected files" in down-left corner "selected" isn't shown properly...

I made the status bar panels resize automatically with the form, so it shouldn't be a problem any more...

Offline

#16 2008-08-01 13:35

eR@SeR
Senior Member
From: Земун, Србија
Registered: 2008-01-23
Posts: 354

Re: Preset Feature Requests

I made the status bar panels resize automatically with the form, so it shouldn't be a problem any more...

It's OK now, but what do you think about mine suggestion...?

eR@SeR wrote:

option "Count marked and selected files" could be removed and by default should shown instantly marked-selected files

...then you don't have to click or do Alt+I. I think it's more practically... roll


TRUTH, FREEDOM, JUSTICE and FATHERLAND are the highest morale values which human is born, lives and dies for!

Offline

#17 2008-09-10 17:17

SafetyCar
Senior Member
Registered: 2008-04-28
Posts: 446
Website

Re: Preset Feature Requests

den4b wrote:

2. When loading some of presets from presets manager, other rules are removed
Correct. When new preset loaded, old rules are removed. I don't think this need to be changed.

I liked this suggestion, but if you don't think it's necesary...

Anyway anything could be done to help copying rules from one preset to other? maybe using copy and paste through the clipboard? but maybe this would require been able to select more than 1 rule at once roll


This and the option of comments for the rules are 2 things that I think would be great (But also look very difficult to implement roll sad )


If this software has helped you, consider getting your pro version. :)

Offline

#18 2008-09-10 17:53

Fathom
Member
From: Boulder, CO USA
Registered: 2007-05-10
Posts: 29

Re: Preset Feature Requests

For text comments/reminders I simply use a pascal script rule containing only a comment (and empty of actual code except begin/end).  What you see is the commentary in the statement field of ReNamer.

// !!! SET "Add folders as files" IN RENAMER FILTER SETTINGS!!! //
begin
end.

or

// This changes media file folders to same 'Date Modified' as the folder.jpg file within //
begin
end.

You can copy a preset using the "Presets Manager".

You can copy individual or group of rules from one preset to another using a text editor on .rnp files in ReNamers program "Presets" folder.  Below is a text view of a preset:

[Rule0]
Name=Strip
Config=CHECKDIGITS:1;CHECKSYMBOLS:0;CHECKBRACKETS:0;CHECKUSERDEFINED:1;TEXTUSERDEFINED:%2D;SKIPEXTENSION:1
Marked=1

[Rule1]
Name=PascalScript
Config=SOURCE:const%0D%0A++AudioExt+%3D+%27%2Emp3%27%3B%0D%0A%0D%0Avar%0D%0A++AudioFiles%3A+TStringsArray%3B%0D%0A++AudioTrack%2C+CurrentFolder%3A+WideString%3B%0D%0A%0D%0Abegin%0D%0A++AudioTrack+%3A%3D+WideChangeFileExt%28FilePath%2C+AudioExt%29%3B%0D%0A++if+WideFileExists%28AudioTrack%29+then%0D%0A++begin%0D%0A++++++SetLength%28AudioFiles%2C+0%29%3B%0D%0A++++++CurrentFolder+%3A%3D+WideExtractFileDir%28FilePath%29%3B%0D%0A++++++WideScanDirForFiles%28CurrentFolder%2C+AudioFiles%2C+False%2C+False%2C+False%2C+%27%2A%2Emp3%27%29%3B%0D%0A++++++if+Length%28AudioFiles%29+%3C+10+then%0D%0A++++++FileName+%3A%3D+%27%2D0%27+%2B+IntToStr%28Length%28AudioFiles%29%29+%2B+%27+%27+%2B+FileName%0D%0A++++++else+FileName+%3A%3D+%27%2D%27+%2B+IntToStr%28Length%28AudioFiles%29%29+%2B+%27+%27+%2B+FileName%3B%0D%0A++end%3B%0D%0Aend%2E
Marked=1

[Rule2]
Name=PascalScript
Config=SOURCE:var%0D%0A++Initialized%3A+Boolean%3B%0D%0A++LastFolder%3A+WideString%3B%0D%0A++Folder%2C+Ext%3A+WideString%3B%0D%0A++Index%3A+Integer%3B%0D%0A%0D%0Afunction+PadNum%28const+Num%2C+NewLength%3A+Integer%29%3A+string%3B%0D%0Abegin%0D%0A++Result+%3A%3D+IntToStr%28Num%29%3B%0D%0A++while+Length%28Result%29+%3C+NewLength+do%0D%0A++++Result+%3A%3D+%270%27%2BResult%3B%0D%0Aend%3B%0D%0A%0D%0Abegin%0D%0A++if+not+Initialized+then%0D%0A++begin%0D%0A++++Index+%3A%3D+1%3B%0D%0A++++Initialized+%3A%3D+True%3B%0D%0A++end%3B%0D%0A++Ext+%3A%3D+WideExtractFileExt%28FileName%29%3B%0D%0A++if+not+WideSameText%28%27%2EMP3%27%2C+Ext%29+then+Exit%3B%0D%0A++Folder+%3A%3D+WideExtractFileDir%28FilePath%29%3B%0D%0A++if+not+WideSameText%28Folder%2C+LastFolder%29+then+Index+%3A%3D+1%3B%0D%0A++FileName+%3A%3D+PadNum%28Index%2C+2%29+%2B+FileName%3B%0D%0A++LastFolder+%3A%3D+Folder%3B%0D%0A++Index+%3A%3D+Index+%2B+1%3B%0D%0Aend%2E
Marked=1

[Rule3]
Name=Replace
Config=TEXTWHAT:part;TEXTWITH:;WHICH:1;SKIPEXTENSION:1;CASESENSITIVE:0;USEWILDCARDS:0
Marked=1

[Rule4]
Name=Replace
Config=TEXTWHAT:The+;TEXTWITH:;WHICH:1;SKIPEXTENSION:1;CASESENSITIVE:1;USEWILDCARDS:0
Marked=1

[Rule5]
Name=Replace
Config=TEXTWHAT:track;TEXTWITH:;WHICH:1;SKIPEXTENSION:1;CASESENSITIVE:0;USEWILDCARDS:0
Marked=1

[Rule6]
Name=CleanUp
Config=BRACKETSROUND:0;BRACKETSSQUARE:0;BRACKETSCURVY:0;SPACESDOT:0;SPACESCOMMA:0;SPACESUNDERSCORE:0;SPACESPLUS:0;SPACESWEB:0;SPACESSKIPVERSIONS:0;SPACESFIX:1;SKIPEXTENSION:1;PREPAREFORSHAREPOINT:0
Marked=1

[Filters]
AddFilesFromFolders=1
AddFoldersAsFiles=1
IncludeSubfolders=1
IncludeHidden=1
IncludeSystem=1
SkipRootFoldersAsFiles=0
MasksOnFileName=0
Masks=

Fathom

Last edited by Fathom (2008-09-10 18:09)

Offline

#19 2008-09-10 18:17

SafetyCar
Senior Member
Registered: 2008-04-28
Posts: 446
Website

Re: Preset Feature Requests

Using pascal comments, sometimes ther are real pascal scripts that I confuse with comments......

And about the copy I'm no refering to copy the preset, I'm talking about the rules

And yes I know that they can be manually edited, but after thar all the rules must be renumbered, else some doesn't appear, an what a about if you want to copy some rules that are not in a preset?, save the preset, open the preset in notepad, find the rule, copy the rule, renumer all the rules, save the  good preset, delete the usless one, and load the new in renamer

I don't know, I'm just thinking about things to optimize the program, but I would understan if denis says it's not worth the effort

Last edited by SafetyCar (2008-09-10 18:18)


If this software has helped you, consider getting your pro version. :)

Offline

Board footer

Powered by FluxBB