#1 2012-02-22 02:31

narayan
Senior Member
Registered: 2009-02-08
Posts: 471

Remove/Replace rules should show the name that's fed to them

The Remove rules shows the name of the selected file in its "Remove:" input box, so that the user can select a part that is to be removed.
The Replace rule also has a similar provision.

However, there is a problem: These rules show the ORIGINAL name of the file in their input box.
But if there are other rules ahead of them in the stack, the original file name gets altered in some way.
As a result, they do not see the original form of the name at all.
Consequently they fail to act altogether.

Therefore, they should show the converted name of the file that reaches them through the rules stack.
(Not the original name.)

Offline

#2 2012-03-05 10:53

narayan
Senior Member
Registered: 2009-02-08
Posts: 471

Re: Remove/Replace rules should show the name that's fed to them

Denis, any progress on this?

Offline

#3 2012-03-06 00:34

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

Re: Remove/Replace rules should show the name that's fed to them

I don't think this is a bug. The feature was originally designed to show the original filename in the Replace or Remove rules, when there are getting added. Partial processing of the rules for the purpose of creating a sample text for the Replace or Remove rules does not sound right to me.

Maybe I have misunderstood your suggestion...

Offline

#4 2012-03-06 09:58

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

Re: Remove/Replace rules should show the name that's fed to them

In fact, as I see it, partial processing of rules could be dangerous or unreal.
Specially thinking on PascalScript that can make real changes directly on preview.
Or other rules that can also build the name based on previous names, like Serialize.

Sorry, it's not to discourage but I think it would be a big performance hit. And in case of implementation, it should have an option to diable the whole "pick from name" feature.


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

Offline

#5 2012-03-07 03:46

narayan
Senior Member
Registered: 2009-02-08
Posts: 471

Re: Remove/Replace rules should show the name that's fed to them

Hmmm.
I didn't realize that this would actually require partial processing of rules, AND it would have to be done on real-time basis inside the rule even before it is added. Yeah, I see what you mean...

Maybe it is best to use the rule first in the stack.

Last edited by narayan (2012-03-07 03:47)

Offline

Board footer

Powered by FluxBB