I am trying to put into the status bar the total size of all files/folders in the current directory, but {tbda} doesn't seem to be working. Is this the correct code to use? If not, what is please? If it is, is it broken?
I think this code is the one you want from the menu?
If you select that, you get {tba} not {tbda}.
Thanks Leo but that still does not solve the problem - it really seems that the code is not working, or there is something wrong with my config generally.
Not working in what way?
It's not putting any information on the status bar. It's as if the code is simply not registering - the status line shows all the other custom code I have, but not this new one. This is the problem I've had every since trying to get this to work.
In the folder you are looking at, is anything showing in the Size column?
e.g. If you're in a folder with no files and only sub-folders, you won't normally have folder sizes calculated unless you ask for them explicitly (Edit -> Calculate Folder Sizes), unless you've turned on automatic folder size calculation.
Maybe a screenshot of the status bar config in Preferences, and an example lister showing what happens in the folder you're looking at, would help us see what's going wrong.
I've just found a clue completely by accident. First of all, here is the code I use:
{i:dir} {sd}/{td} folders • {i:file} {sf}/{tf} files • {sba} / {tba}
I always have a dual-pane window open, by default and usually otherwise as well. What I've just discovered is that this code for the status bar works perfectly if I'm in a single-pane windows, but when in a dual-pane, everything works except for the the {tba}. Very strange, unless I just don't understand how to use the code.
Do you have the Separate dual-display status bar option turned on in Preferences / Display / Status Bar?
If so, it may be as simple as not having added the {tba} code to the definition for the dual display status bar.
You're right. I completely forgot about this and it was exactly the problem. It is now resolved. Sorry to have wasted your time and thanks for your help.
Todd