I would prefer to replace newlines by a spaces.
Background: I often copy some title from pdf, txt, docx, etc. files and rename the file accordingly -- mostly with in-place rename.
If the title has 2+ lines, I need to copy them line by line or type them manually.
Both is slow and a bit annoying, since the entire title is in the clipboard but cannot be used easily for file names.
Hence my suggestion: Replace newlines by spaces when using text from the clipboard as file name.
Maybe this can be made optional with an INI setting:
Code: Select all
RenameReplaceNewlineBySpace = 0
0 is default (as it is now), 1 is as described above
To avoid potential problems with the exit boxes, the max length of the pasted string could still be limited. Maybe by a reasonably chosen constant or by another user-defined INI setting.
Any opinion on that?
Thank you.