If I change a cmdN= command of an active buttonbar by writing directly to the .bar file and then clicking on the corresponding button N,
everything works fine (the new command is executed), except cmdN= WAS cmdN=cm_xyz or em_xyz BEFORE I wrote it.
If it was cm_xyz or em_xyz, this old command is executed.
Buttonbar: Change of cmdN= by writing .bar file not recognized if cmdN=cm_xyz or em_xyz
Moderators: Hacker, petermad, Stefan2, white
Re: Buttonbar: Change of cmdN= by writing .bar file not recognized if cmdN=cm_xyz or em_xyz
Who said that writing directly to a bar file should work ?
Thats just your wish and in no way a bug report.
Thats just your wish and in no way a bug report.
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: Buttonbar: Change of cmdN= by writing .bar file not recognized if cmdN=cm_xyz or em_xyz
Who said it should NOT work ?
It works with all commands, except cmdN was cmdN=cm_xyz or em_xyz.
It works with all commands, except cmdN was cmdN=cm_xyz or em_xyz.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Buttonbar: Change of cmdN= by writing .bar file not recognized if cmdN=cm_xyz or em_xyz
cm_ an em_ values are cached as numbers and will not be reloaded when you click on a button. More complex commands are stored internally as "unknown" so TC has to look in the bar file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Buttonbar: Change of cmdN= by writing .bar file not recognized if cmdN=cm_xyz or em_xyz
I tried to reload the button bar with OPENBAR1 barfilename.bar, but it doesn't seem to do anything when barfilename.bar was already the active bar.
Could you do a reload if the file time has changed ?
Could you do a reload if the file time has changed ?
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Buttonbar: Change of cmdN= by writing .bar file not recognized if cmdN=cm_xyz or em_xyz
I will consider it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com