add command to rename special menu

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

add command to rename special menu

Post by swan_x »

it is possible add new personal command to rename special menu?
on right menu:
Batch Rename
RegExp Rename
my personal rename
To see the attached files, you need to log into the forum.

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: add command to rename special menu

Post 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?

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

Re: add command to rename special menu

Post by highend »

By explaining how your "special rename" was implemented?
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: add command to rename special menu

Post 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

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

Re: add command to rename special menu

Post 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
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: add command to rename special menu

Post 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?

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

Re: add command to rename special menu

Post by highend »

By adding the script counterpart of it
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: add command to rename special menu

Post by swan_x »

can you give a concrete example of this script?
my command you see it in post # 4

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: add command to rename special menu

Post 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?

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

Re: add command to rename special menu

Post by highend »

Look up the rename script command to accomplish this?

And for the second part, look up delete as well?
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 335
Joined: 08 Oct 2009 12:27

Re: add command to rename special menu

Post 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

Post Reply