Page 1 of 1

How to create RegExp rename button?

Posted: 31 Aug 2022 03:02
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.

-

Re: How to create RegExp rename button?

Posted: 31 Aug 2022 03:36
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.