151

(8 replies, posted in Comments)

Hello Anne !

Of course I remember you : the official Siren spokeswoman  wink
A member of the extremely small group of female users.

Glad to see you back !

Modifications have been done in the History page.

Thanks for your remarks

Hello and welcome,

You're right version 2-3 changes associated to command line usage have not been listed.

jkane wrote:

Command line argument deliminator changes from "\" to "-" or "--" for long form.

Under windows, the standard option prefix is "/" (not "\"). It is the only one authorized by Siren 2.
As Siren3 is multiplatform you can use "-" or "/".
I did not specify this in the Help but you can see it in the command line usage : siren /h
I'll add this in the "History" page.

jkane wrote:

Command line options are case sensitive, and many changes case from UPPER to LOWER in 3.0. For example,  "\E" worked in 2.01, but is not recognized in 3.0, replaced with "-e", also true for /R, /Q, etc.

You are right. I'll add this in the "History" page.

jkane wrote:

/I option (specifying INI file) is gone.

The "/I" parameter has been changed to "/P" because the "ini" extension is Windows centric and I wanted something more generic.
I'll add this in the "History" page.

jkane wrote:

Seemingly, so is INI file support. Where do settings go now, registry?

No change have been done here.
By default the "siren.ini" is located in the executable directory and contains all settings.

jkane wrote:

Command line arguments seem to be order sensitive in a way that they were not in 2.0.    Specifically, the "-r" "-q" options did not seem to work when placed at end of options, but they do work when placed at the beginning of options list. When at the end, the rename and quit functions did not work, i.e  "Siren.exe -e blah -f blah -d blah -r -q" did not work, but "Siren.exe -r -q -e blah -f blah -d blah"

I've just made some tests and did not see any problem.
Can you post an example ?

Regards,

Remi

154

(6 replies, posted in Evolution requests)

I didn't correctly read your post. Sorry.
There are different ways to solve this.

155

(6 replies, posted in Evolution requests)

Yes, a DOS batch file can maybe do the trick.

Something like (I surely missed things) ? :

  • dir /AD /B /S %1 | sort /R : to get the directory tree names in reverse order

  • a "FOR" to parse the result

  • execute some code explained here to change the case of the name

  • execute the "REN"

Maybe this batch could be used as a "Tool" in Siren. After execution the directory should have to be reloaded.

It could be easier to use another "language", no ?

156

(6 replies, posted in Evolution requests)

Hello,

The directories can't be renamed in "sub-directories loading" mode (recursion).
You can see this clearly when using the user interface : directories don't have checkboxes.
This is explained in the FAQ : Loading sub directories

Sorry ...

157

(0 replies, posted in Announcements)

Here we are, 10 years after the 1.00 the 3.00 version of Siren finally comes out.

You can download it from the main site.

Thanks to all who gave feedbacks during this long pre-release stage.

158

(3 replies, posted in How to ...)

Hello,

Another solution can be to use the %N variable with its specific modifier.

For example the following expression should be ok :
t%N{2,24}.%e

%N{2,24} will extract the first number from the base name, pad it to 2 digits and add 24 to it.

Regards

159

(11 replies, posted in Evolution requests)

Glad to know that a solution has been found.

About examples, what do you think is missing ?
If you've got remarks or suggestions, please post them.

Regards,

Remi

160

(11 replies, posted in Evolution requests)

Hi,

Constant strings are simple text. A '%' or a '$' in them won't be seen as a variable or an environment variable prefix but simply as a '%' or a '$'.

I've added a "%Pe" variable (path to Siren's executable) which will allow you to do the trick.
One way to append some text to a variable is to use a regular expression modifier like in:
%T{%Pe(s/$/sr_dta.txt/),%nc{1,0}}

A way to solve this kind of issue with Siren's "free" syntax is to add a "eval" variable.
Maybe something like : %()
Between the "()" a full expression could be written.
I've to think a bit more about this.
Any comments are welcome.

Regards,

Remi

PS: I've made the modification in the example help too to remove the useless title. Thanks.

The problem is the volume separator (":").
A "simple" solution can be (another trick wink) to substitute and then replace it. With a "@" for example:
%e=P@\\Photo\\_Photo\\%dm{"%Y"}\\%dm{"%Y%m"}\\%dm{"%Y_%m%d_"}\\%dm{"%Y-%m-%d_%H%M%S"}%T{"C:\\sr_dta.txt",%nc{1,0}}.%e;%fc[2,1,"="]("@",":")

Regards,

Remi

162

(1 replies, posted in Evolution requests)

You can select the files based on filters: press Ctrl+S and enter "*.avi;*.mov" or "*.jpg;*.jpeg"

Another possibility is to start Siren with the appropriate arguments.
For example, you can create a ".bat" file or a shortcut containing the command:
siren /f "*.avi;*.mov" /s *.* /e "your expression for movies"
or the command:
siren /f "*.jpg;*.jpeg" /s *.* /e "your expression for photos"

You'll find more details about command line parameters in the help.

Hoping this will help.

163

(11 replies, posted in Evolution requests)

About C:
During the renaming/copy Siren doesn't do any magic.
It goes through the selected file list and simply calls the rename/copy system function with the current and new names.

During this operation if a file already exists your operating system should refuse to rename/copy and give back an error to Siren. Finally Siren will display a window summarizing all the errors, if any.
All the files for which a problem appeared are displayed with an orange like background color and when they have the focus the associated message is displayed in the status line.

Under Windows, you can try to achieve the same in a command line window without Siren using "copy" and "ren" commands.

Tell me if you need more information.

It wouldn't be as easy as it looks but it could be added.
I am not sure if it is really necessary: the current version seems able to solve all the cases that have been reported to me.

From a larger point of view it looks like opening the can of the conversion of Siren's small expression syntax into a programing language.

You are right.
In versions 2 the regular expression library used was Boost.org.
Since version 3 Siren uses the one included in wxWidgets. It may not include all the extra features present in Boost.org but it is compliant with the "standard" and is perfectly integrated in its code environment.

I am sorry for the users who get into the habit of using these advanced features but for now I don't think to go back on this.

166

(11 replies, posted in Evolution requests)

Thanks Stefan
smile

167

(11 replies, posted in Evolution requests)

About your "B)" point.

Using Siren 3.00 build 888 (it corrects a bug present in previous versions), a way to solve this could be :

1) Create a text file containing the converted numbers you want to use.
In your case :
aa
ab
ac
...
az
ba
bb
...

Let's say its name is "C:\sr_n2a.txt"

For test purpose I've created mine. I can send it you if needed.

2) Use an expression like : %b(1,1)%T{"C:\\sr_n2a.txt",%nc{1,0}}.%e

%b(1,1) : choose the collision part you want. For the test I've chosen the first character of the base name.

%T{"C:\\sr_n2a.txt",%nc{1,0}} : will extract the text lines from "C:\sr_n2a.txt" (don't forget to double the "\"),
The second parameter is the number of the line you want to extract. In this case it will be the collision number.
If this number is invalid (0 for example) the string returned is empty.
%nc{1,0} is the collision number non padded with zeros and starting at 0.
Therefore the first element of a collision group will have an empty identifier. The second will be "aa", the third "ab" ...

%e : is the extension of the name

3) If you want to add a separator between the two parts (for example a "_") and do not want it on the first element of the collision group then the expression can be :

%b(1,1)_%T{"C:\\sr_n2a.txt",%nc{1,0}}.%e;%b(s/_$//).%e

_ : is inserted in the first sub-expression just before the "%T"

; : the semicolon separates the two sub-expressions

%b(s/_$//).%e : this second sub-expression will remove the last "_" of the base name



Hoping this will help.

Remi

168

(11 replies, posted in Evolution requests)

Hello,

A) You can use a string modifier to remove it.
For example : %ncs{1}("_","") or more simply %ncs{1}("_")

B) I thought you could use a combination of %T, %ncs and a text file containing the replacement alphabetic sequences.
But while testing a bug showed up ... It has to be fixed.

C) I won't get into this for the 3.00 release

Regards,

Remi

The modification has been added in the last build (881).
You can activate it through a new preference in "Preferences/General".

Hello and Welcome !

I'll try to add this feature in a next build.

Thanks for your suggestion and your support.

Rémi

171

(9 replies, posted in Bugs and problems)

I've been able to reproduce the bug and I think I have fixed it.

Thanks a lot for your help.

172

(9 replies, posted in Bugs and problems)

No, I can't recreate it.
Can you mail me your "Siren.ini" file ?
Use the mail address that can be found in Siren's "?/About ..." menu option.

173

(9 replies, posted in Bugs and problems)

Thanks to your explanation I've been able to reproduce and correct the "double click" bug but unfortunately I can't reproduce the "column width" one.
I am surely missing something. Can you please post a "step by step" example ?

About the GTK selection issue, I'll try look at amule source code.

174

(9 replies, posted in Bugs and problems)

About the "stall" issue, you are right.
I've checked and it appears that the "Network Neighborhood" is scanned during the initialization of the directory tree.
About the GNU/Linux user interface issue. I've been able to reproduce it.

Unfortunately I won't be able to fix these two problems. Sorry.

Did you have the opportunity to retest the other ones : column width and double click ?

175

(9 replies, posted in Bugs and problems)

Hello,

Don't worry, you don't bother me at all. You are more than welcome to report any issues or suggestions (even typos) !

On a small XP machine, I've tried without success to reproduce the two first problems with different builds :
- Column width reset
- Fast double click
Can you please try to reproduce them on another machine ?

About the third one (stuck at startup), are you sure that your "desktop", "my document" directories and all of your drives are local ?

About the GNU/Linux issue :
I'm not sure that I have understood what user interface manipulations you are doing. Can you please give more details ?
Normally Siren's controls should behave as native ones. Does the file manager work as what you expect from Siren ?

Thanks for your help