Page 1 of 1

F7 Create folder with auto-replace of incorrect symbols

Posted: 2018-01-19, 07:56 UTC
by Lomik_XP
I really need it in my work :)
Example,
1) Press F7
2) Enter "MyFolder:MyFile"
3) ? Any global setting what defines replacing symbol (Ex. _
? Any global setting what defines ability of replacing aka checkbox
4) Creating folder with name "MyFolder_MyFile" as expecting

Posted: 2018-01-19, 08:06 UTC
by Horst.Epp
You don't have under control what you are typing ?
Or is your keyboard defect ?

Re: F7 Create folder with auto-replace of incorrect symbols

Posted: 2018-01-19, 08:36 UTC
by Stefan2
Lomik_XP wrote:...
4) Creating folder with name "MyFolder_MyFile" as expecting
Who says that THAT is expected?

It's up to the user to tell the tool what he want.
It's not that good for a file manager to be that smart and do things I don't have tell him to do (adding a underscore where a space may fit better)




But maybe a INI-setting would be a possible solution, like

ReplaceInvalidCharsBy=
ReplaceInvalidCharsBy=" "
ReplaceInvalidCharsBy="_"

for the Shift+F4 and F7 feature?

Since they're already such smartness in TC:
History.txt wrote:18.05.16 Fixed: Unpacker, invalid names in archive:
04.12.09 Added: Decode files: Replace invalid characters in file name like ":" by underscores "_"
13.01.09: Fixed: Command line, "cd" command: Detect and remove invalid constructs
Help > Settings in the file wincmd.ini wrote:MrtReplacePluginChars=1
0: Turns off auto-replacement of invalid characters from plugins in the multi-rename tool
- - -


At least the F7-dialog shouldn't just disappear without giving the user the change to modify the string! as it is right now :cry:



 

Posted: 2018-01-19, 14:03 UTC
by Hacker
[mod]Horst.Epp,
It would be really nice if you were more polite to people.
If not, a seven-day ban will follow.

Thank you for understanding.
Hacker (Moderator)[/mod]

Posted: 2018-01-20, 08:36 UTC
by azertt
that feature would be wonderfull since the topic is old , i couldnt find in the search if it has been implementer

Posted: 2018-01-20, 10:27 UTC
by Lomik_XP
Horst.Epp wrote:You don't have under control what you are typing ?
Or is your keyboard defect ?
Man, if I copying some words from any place to create a folder, I want to machine replace wrong symbols for me, its really save time.

Re: F7 Create folder with auto-replace of incorrect symbols

Posted: 2018-01-20, 10:30 UTC
by Lomik_XP
Stefan2 wrote: 4) Creating folder with name "MyFolder_MyFile" as expecting
Who says that THAT is expected?
If user use checkbox with that function its expected
Stefan2 wrote: At least the F7-dialog shouldn't just disappear without giving the user the change to modify the string! as it is right now :cry:
Agree, even if this function is implemented