Page 1 of 1
Add Swap Panes to Toolbar
Posted: 03 Jan 2024 06:25
by JD12345
Is there a way to add a button to the toolbar for Swp Panes Cntl+Shift+F10
Re: Add Swap Panes to Toolbar
Posted: 03 Jan 2024 07:28
by highend
See RalphM's answer

Re: Add Swap Panes to Toolbar
Posted: 03 Jan 2024 07:30
by RalphM
Sure, add a user button to the toolbar, give it an icon as needed and make its command:
To switch on the display of command ID's to see the #808 and others, switch on "Help/Command IDs on menu"
Re: Add Swap Panes to Toolbar
Posted: 03 Jan 2024 21:57
by JD12345
Thanks!
Re: Add Swap Panes to Toolbar
Posted: 07 Jan 2024 20:43
by JD12345
I added
::#800;
to right click, but when I right click, it brings up a menu with this at top. Is there anyway to get the button script to run the command directly without the menu?
Re: Add Swap Panes to Toolbar
Posted: 07 Jan 2024 21:07
by highend
You need a tweak for this kind of behavior:
CTBNoRClickDefaultCommands=1
https://www.xyplorer.com/faq-topic.php?id=tweak
Re: Add Swap Panes to Toolbar
Posted: 07 Jan 2024 22:00
by JD12345
Thanks, does that only affect user created buttons or can it affect other buttons too?
Re: Add Swap Panes to Toolbar
Posted: 07 Jan 2024 22:21
by highend
That tweak is for user defined buttons, not for built-in ones