How to create RegExp rename button?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
taufan
Posts: 53
Joined: 22 Mar 2020 02:33

How to create RegExp rename button?

Post by taufan »

Hi,
I usually use the Regex rename menu to remove all text in the bracket:

Clipboard-20220831-02.png
-

Code: Select all

  \[[^\]]*\] >

My question is:
How do I make a RegexRename button so that I only need to press it once to rename it?

Clipboard-20220831-03.png
-

Or how to add that script on the nested menu?

Clipboard-20220831-04.png
-

Any idea?
Thanks.

-
To see the attached files, you need to log into the forum.

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

Re: How to create RegExp rename button?

Post by jupe »

Look up the rename command in the Advanced Topics\Scripting Command Reference of the help file, the 5th example would be pertinent to you, these commands can go straight into the on left click field. Lookup Advanced Topics\Hamburger for the nested menu syntax.

Post Reply