578 Multirename -"- from the last Character [n, -x]

Bugs and other issues or requests which have been resolved.
Post Reply
Message
Author
b-sonic
Posts: 97
Joined: 10.04.2010, 10:23

578 Multirename -"- from the last Character [n, -x]

#1 Post by b-sonic » 17.02.2012, 07:00

There are two multirename options named -"- from the last Character, which is not fortunate. The descriptions should be different and written in a way that everybody can understand the meaning without having to try it out.

When i choose the option -"- from the last Character [n, -x], there seems to be a problem.
When I select [n,-1] or [n,-2], the file names are not changed at all.

When I select [n,-3], only the last 2 characters are deleted.
When I select [n,-4], only the last 3 characters are deleted.

So there seems to be an offset of 1 in the multirename funtion.

Marek
Author
Author
Posts: 3994
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: 578 Multirename -"- from the last Character [n, -x]

#2 Post by Marek » 19.02.2012, 17:40

Fixed in 579.

b-sonic
Posts: 97
Joined: 10.04.2010, 10:23

Re: 578 Multirename -"- from the last Character [n, -x]

#3 Post by b-sonic » 20.02.2012, 13:14

Marek wrote:Fixed in 579.
It is better with Release 579, but there still is a problem.

When I select [n,-1], the file names are not changed at all.
When I select [n,-2], only the last character is deleted.
When I select [n,-3], only the last 2 characters are deleted.

I would expect that the last x characters are deleted and not the last x-1.

Karol
Posts: 965
Joined: 19.08.2007, 12:05

Re: 578 Multirename -"- from the last Character [n, -x]

#4 Post by Karol » 20.02.2012, 14:14

[n] and [n,1] is the same
[n] and [n,-1] is the same
[n,2] only the first character is deleted (start with the second character from beginn)
[n,-2] only the last character is deleted (start with the second character from the end)

I think, all is OK.

b-sonic
Posts: 97
Joined: 10.04.2010, 10:23

Re: 578 Multirename -"- from the last Character [n, -x]

#5 Post by b-sonic » 21.02.2012, 10:04

Karol wrote: [n,2] only the first character is deleted (start with the second character from beginn)
Since the option [n,x] is called Name from x, this is ok.

uwee
Posts: 86
Joined: 12.10.2007, 16:18
Location: Dortmund/Germany

Re: 578 Multirename -"- from the last Character [n, -x]

#6 Post by uwee » 21.02.2012, 14:24

I also had probems with understanding the syntax...

But now it seems to be be logical for me (if you understand the "-x" not as as "delete x character from the right side" but as "start with character x from the right side")

n,-1 = starting with the first character from the right side = name is unchanged
n,-2 = starting with the second character from the right side = last character is deleted
Uwe

b-sonic
Posts: 97
Joined: 10.04.2010, 10:23

Re: 578 Multirename -"- from the last Character [n, -x]

#7 Post by b-sonic » 24.02.2012, 09:51

uwee wrote:I also had probems with understanding the syntax...

But now it seems to be be logical for me (if you understand the "-x" not as as "delete x character from the right side" but as "start with character x from the right side")
This is exactly what is implicated, since the "-" means to subtract something. In Maths, if L=3, then L-1 is 2. Why should it be different here?

If I use this option, I want to delete characters from the end, so in my opinion, this should be changed and also the description should be changed to "delete x characters from the end".

I can understand your point, but every function should be easy to use (and understand) and that's not the case here, since you had the same problem.

User avatar
Dreamer
Site Admin
Posts: 6132
Joined: 19.08.2007, 23:40

Re: 578 Multirename -"- from the last Character [n, -x]

#8 Post by Dreamer » 24.02.2012, 17:31

I agree with b-sonic, it is very important the features are intuitive and easy to use.

It is quite confusing even fore me, "delete x characters from the end" would be much better and very intuitive.

b-sonic
Posts: 97
Joined: 10.04.2010, 10:23

Re: 578 Multirename -"- from the last Character [n, -x]

#9 Post by b-sonic » 25.03.2012, 10:54

Works now intuitive in Release 582

Post Reply

Who is online

Users browsing this forum: No registered users and 121 guests