How to copy/move buttons from one button bar to another easily
Moderators: Hacker, petermad, Stefan2, white
How to copy/move buttons from one button bar to another easily
Is there a trick to copy/move more buttons in one step from one button bar to another easily? Copy+paste one by one is time-consuming. I tried to copy text between bar files but tc does not recognize it. And replacing numbers (button1, cmd1, path1..., button2, cmd2, path2...) is hard to do.
Re: How to copy/move buttons from one button bar to another easily
I use the Button Bar Editor from the Ultra TC Editors.
https://utceditors.wincmd.ru/tc_tools/downloads.htm
It has all editing features one can expect, and also has an Import function.
So you can be in one .bar file and import all buttons from another one.
After the import you can edit, move or delete the imported buttons.
https://utceditors.wincmd.ru/tc_tools/downloads.htm
It has all editing features one can expect, and also has an Import function.
So you can be in one .bar file and import all buttons from another one.
After the import you can edit, move or delete the imported buttons.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: How to copy/move buttons from one button bar to another easily
You could copy the whole .bar file and delete the buttons you don't need from the copy. Copying text between .bar files works but it requires the Buttoncount to be changed accordingly and the numbering must also be correct.
Ultra TC Editors has a Button Bar Editor, maybe it's worth a look.
Ultra TC Editors has a Button Bar Editor, maybe it's worth a look.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: How to copy/move buttons from one button bar to another easily
Going this way you'd also need to correct the buttons number at the beginning of the .bar file:oko wrote: 2025-03-17, 15:56 UTC ...I tried to copy text between bar files but tc does not recognize it. And replacing numbers (button1, cmd1, path1..., button2, cmd2, path2...) is hard to do.
E.g. initial state:
Code: Select all
[Buttonbar]
Buttoncount=27
Code: Select all
[Buttonbar]
Buttoncount=30
Luckily, this is not an everyday event, at least for me (I have 12 buttonbars, but they are more or less stable, and one of them is a 'bars.bar' to quickly accessing to any of them).
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
- Vochomurka
- Power Member
- Posts: 816
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
Re: How to copy/move buttons from one button bar to another easily
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
Re: How to copy/move buttons from one button bar to another easily
Pretty dumb perhaps, but why not start two TCs, one with the source button bar, and one with the target button bar.
Now right click, copy in the source TC bar, and paste in the target TC bar.
Now right click, copy in the source TC bar, and paste in the target TC bar.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: How to copy/move buttons from one button bar to another easily
2hi5
you will get subbar in bar after pasting in the target bar. The aim is to get buttons (not bar with buttons) in target bar.
you will get subbar in bar after pasting in the target bar. The aim is to get buttons (not bar with buttons) in target bar.