Topic: Help helpers. Add option to rename strings instead of real files.

I guess there is an reason there is no "Evolution requests" sub forum ? ;-)

But i need this option often. Maybe it's from interest to you?


For own testing issues or for helping questions on the forum
i find it not comfortable to always create new temporary files.

So if it is not to much:
can you add an kind of window
where we can write or paste a few lines of file names
and where the settings from the expression field can be applied?

Something like:

------------------------------------------
Expression: [ %ub.%e                ]
------------------------------------------
File name.ext
Pasted file names.ext



------------------------------------------
FILE NAME.ext
PASTED FILE NAMES.ext



------------------------------------------>>




This has nothing to do with freeform modifying the real file names, just working on text only.
There is no way back to the future name column. This is only to test expressions with strings.

Re: Help helpers. Add option to rename strings instead of real files.

Stefan wrote:

I guess there is an reason there is no "Evolution requests" sub forum ? ;-)

I don't know what you're talking about  wink

More honestly I thought that "Evolutions" should appear after the final release.
In fact you're right.

Stefan wrote:

For own testing issues or for helping questions on the forum
i find it not comfortable to always create new temporary files.

Something like an "Expression lab". Good idea.

But you know that there will a lot of limitations like :
- the only available variables will be the ones associated to the file name
- maybe "%np" and its family will be empty
- other ones that I've to figure out

I'll have a look at this. It seems feasible and should not add too much kilo bytes to the executable wink.

Re: Help helpers. Add option to rename strings instead of real files.

R> But you know that there will a lot of limitations

Yes, mostly i anyway didn't have the real files, all i have are the example strings from the forum
from which i create dummy TXT files with currently needed names. So i guess that would be the same.

Re: Help helpers. Add option to rename strings instead of real files.

Hello,

The first version of the "Expression testbed" has been added in the last build (784).
I hope it corresponds to what you expected.

Remi

Re: Help helpers. Add option to rename strings instead of real files.

Rémi wrote:

Hello,

The first version of the "Expression testbed" has been added in the last build (784).
I hope it corresponds to what you expected.

Remi

+ Add Expression testbed (Menu "?")


100% hit. Looks very good. Thank you.

How to use:
- go to menu '?'
- choose "Expression testbed"
- write a few file names (or copy some from the forum)
- add the wanted expression (try  "%ub(1,3)%b(4).*")  and press Enter-key
   You can press the little tag icon on the right for an complete list of possible expression variables.
   Note: since this are not real files but strings only, there will be no real output from that variables providing 
   file properties or meta-tags normally. If you see any, then that are taken from the running Siren.exe instead.
- watch in the lower pane how your entered expression has impact on the strings from the upper pane.

This new feature is very useful just to find an matching regular expression or to to experiment with the case changing
variable or the string manipulation modifiers  without the need to create  real files first.

Ideal for forum regulars to help them supporting user questions and for user to play around without fear to mess up there files big_smile

Saluté

Re: Help helpers. Add option to rename strings instead of real files.

While playing I got the idea
to have an button to "import" the currently selected file names
into the "Current Names" box.

Or something like that.

First I thought about automatically use the selected files,... but that may be too many sometime?

As always, just an idea. Of course we can still utilize Ctrl+Shift+P  big_smile

Re: Help helpers. Add option to rename strings instead of real files.

Interesting idea. I'll try to add it.

Thanks.

Re: Help helpers. Add option to rename strings instead of real files.

This new feature is now present in Siren 3.12 beta3 build 957.

Re: Help helpers. Add option to rename strings instead of real files.

Rémi wrote:

This new feature is now present in Siren 3.12 beta3 build 957.

New in this release :
* Expression TestBed : new button to replace current names with the ones of the selected files   

Great, works very well.


How to:
- select (check the checkboxes) one or more files in the Siren files list.
- launch "'?' > Expression testbed" .
- click at the new button in the "Current Names" line..
... and you have a string from an real file name to play with in the testbed ;-)
Note: the current list in testbed will be overwritten.


Please note that the "Expression testbed" dialog, while still open, do not prevent you from
selecting other files in the back, and another click at the "Import" button will add those strings too.