Page 1 of 1

add command to rename special menu

Posted: 19 Mar 2020 14:46
by swan_x
it is possible add new personal command to rename special menu?
on right menu:
Batch Rename
RegExp Rename
my personal rename

Re: add command to rename special menu

Posted: 20 Mar 2020 09:15
by swan_x
since this seems to me not possible, i have inserted a User Bottom in my toolbar.
but how to assign my special rename to this button?

Re: add command to rename special menu

Posted: 20 Mar 2020 09:34
by highend
By explaining how your "special rename" was implemented?

Re: add command to rename special menu

Posted: 20 Mar 2020 09:45
by swan_x
now i used from User menu - Rename and here i have my function <get rs 12 abcdgfregerge343453rehgrth> /e
i want assign this function to my user button

Re: add command to rename special menu

Posted: 20 Mar 2020 10:31
by highend
Each command gets an id assigned (#....). You can see that in the User - Manage Commands... for that command.
Call that from the "on left click" part of the button

Re: add command to rename special menu

Posted: 20 Mar 2020 11:07
by swan_x
oh yes, work great! tanxs.

but this work because i have already one command assigned from user menu -rename...
if i didn't have this command, it was still possible to assign this command to user button?

Re: add command to rename special menu

Posted: 20 Mar 2020 13:00
by highend
By adding the script counterpart of it

Re: add command to rename special menu

Posted: 20 Mar 2020 14:51
by swan_x
can you give a concrete example of this script?
my command you see it in post # 4

Re: add command to rename special menu

Posted: 20 Mar 2020 15:11
by swan_x
and another: i'd like to set a double operation to my user button: rename file, then delete this. it's possible?

Re: add command to rename special menu

Posted: 20 Mar 2020 15:18
by highend
Look up the rename script command to accomplish this?

And for the second part, look up delete as well?

Re: add command to rename special menu

Posted: 20 Mar 2020 15:34
by swan_x
I had already consulted the help, but the command did not work because i did not use the symbol ' at the beginning and end of the line command. now that you have pointed it out i have seen it and it works.
and i write it here for those who don't want to consult the guide ...!

Code: Select all

rename b, '<get rs 12 sfijklmnopqrstuvwxyzABCDFBBDFBOPQRGJJXYZ01254654645689> /e'; delete