Let users click directly on filename position with invalid char

Features wanted...
Post Reply
tobwen
Posts: 53
Joined: 08 Jan 2022 08:43

Let users click directly on filename position with invalid char

Post by tobwen »

Assume I want rename a very long filename.
Therefore I oftentimes copy an URL or a text from webpage and insert it into the filename edit field.

Unfortunately the inserted filename chunks contain sometimes invalid chars like

/
:
"

A popup dialog informing me about the invalid chars.
Since my cursor position is at the end of the filename I want to re-position it at the critical position with the invalid char via mouse click.
This is not possible. The error popup re-appears.
The only way is to tap 35 times on the <left> cursor key to move the cursor to the critical position.
This interrupts my workflow and is annoying.

Can you allow re-positioning via mouse click in the next release?

Thank you

highend
Posts: 14922
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Let users click directly on filename position with invalid char

Post by highend »

Just cleanup your clipboard before pasting the url / string into the edit field?

E.g. via:

Code: Select all

copytext regexreplace(<clp>, "(/|:|[""])");
And you can put that on a button or use it as a user defined command and add a keyboard shortcut to it...
One of my scripts helped you out? Please donate via Paypal

jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Let users click directly on filename position with invalid char

Post by jupe »

Not sure if you are aware of this existing option too,

Configuration | General | Sort and Rename | Rename | [x] Auto-replace invalid characters

and you can set your preferred replacement char here:

Configuration | Colors and Styles | Templates | Dropped Messages | Character to replace invalid characters

tobwen
Posts: 53
Joined: 08 Jan 2022 08:43

Re: Let users click directly on filename position with invalid char

Post by tobwen »

jupe wrote: 25 Mar 2026 21:26 Not sure if you are aware of this existing option too,

Configuration | General | Sort and Rename | Rename | [x] Auto-replace invalid characters

and you can set your preferred replacement char here:

Configuration | Colors and Styles | Templates | Dropped Messages | Character to replace invalid characters
This is great and better than what I expected
Thank you

tobwen
Posts: 53
Joined: 08 Jan 2022 08:43

Re: Let users click directly on filename position with invalid char

Post by tobwen »

Sorry, I have to re-open this thread.

As I found out the suggested option works only when typing chars on keyboard.

When I paste it from clipboard then it does not work.
Can this invalid-char-prevention be applied to inserted clipboard content too?
Thank you

admin
Site Admin
Posts: 66070
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Let users click directly on filename position with invalid char

Post by admin »

Sure? Works here. :?

Post Reply