How to copy or move custom user buttons to diff toolbar?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
sparks
Posts: 30
Joined: 06 Jan 2022 01:33
Location: Win10, ver 22H2, 1920 x 1080 @100%

How to copy or move custom user buttons to diff toolbar?

Post by sparks »

Don't know that it's possible, but if not, I suppose I could use a 2nd instance to have the old and a new button dialog boxes open at the same time to copy info and scripts back and forth?

Don't want to do 8 buttons that way if there's a much faster/easier way!! Thanks in advance...

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

Re: How to copy or move custom user buttons to diff toolbar?

Post by jupe »

Switch to the toolbar you want to add the buttons to, and then just go to

Tools | Customize Toolbar

dialog, and add them, same as you did to the orig toolbar.

sparks
Posts: 30
Joined: 06 Jan 2022 01:33
Location: Win10, ver 22H2, 1920 x 1080 @100%

Re: How to copy or move custom user buttons to diff toolbar?

Post by sparks »

Well that was embarrassing easy. I had just assumed they could not exist on two toolbars at once, so I would have had to tediously redo them. :oops:

Thanks Jupe, outstanding and speedy help, as always. What a great experience here. :appl:

eil
Posts: 1814
Joined: 13 Jan 2011 19:44

Re: How to copy or move custom user buttons to diff toolbar?

Post by eil »

@sparks FYI you actually can same fast "copy the code" of a custom button. Open its Edit window > right-lick on bottom button Clear > Copy as Snippet = your clipboard contains Full code of button(including code, name, icon settings). Now you can create new button(including in other XY instance) > in new button window right-click on Clear button > Paste as Snippet = you have a full clone of your custom button.
And surely you can save that to simple TXT, to say transfer to other system.
Win 7 SP1 x64 100% 1366x768|1900x1080

sparks
Posts: 30
Joined: 06 Jan 2022 01:33
Location: Win10, ver 22H2, 1920 x 1080 @100%

Re: How to copy or move custom user buttons to diff toolbar?

Post by sparks »

@eil, Thank you for that info, it gave me an overall feel of the custom toolbar buttons I did not have.

Question.. I have assigned three scripts to one button, Rht,Lft,Middle clicks, which function fine.
But the Rht click one first pops up the regular little edit menu first, making me have to click on the proper choice to continue.
How can I make the rht click choice go straight thru, without the menu? I'm aware of 'Cntrl-rht click' to edit button, if needed.

Also, Does editing little stuff like script lines in the button contents get updated on my same custom button located on another toolbar??

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

Re: How to copy or move custom user buttons to diff toolbar?

Post by jupe »

  1. CTBNoRClickDefaultCommands=1
    follow these instructions exactly on how to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak
  2. Yes, and that would have been easy for you to test.

sparks
Posts: 30
Joined: 06 Jan 2022 01:33
Location: Win10, ver 22H2, 1920 x 1080 @100%

Re: How to copy or move custom user buttons to diff toolbar?

Post by sparks »

Thanks for lightening reply. Got it, works.
And you are absolutely right, I was in a hurry to tuck it into an edit, not thinking abt how easy testing that would be.
You all spend very valuable personal time on people like myself, I understand and really appreciate it! :appl:

Post Reply