Code: Select all
v22.50.0210 - 2021-12-04 12:02
* Status Bar Template: Removed the StatusBar3OnFileUpdateOnChange tweak. If
you want to update the Status Bar on each selection change (and not just
on each focus change) prefix |s| to your definition, e.g.:
|s|<get BytesSelected a 1> bytes, <get LengthsSelected a 1>
+ Status Bar Template: Added a shorthand for a template that could prove
pretty useful to a lot of folks that are not into complex patterns:
Shorthand: Length
Internally translated to: |s|<get LengthsSelected a 1>
+ Configuration | Colors and Styles | Templates | Status Bar: Added option
"Use status bar template". Tick it to actually use the template defined in
the box above.
+ Status Bar | Right-click Menu: Added toggle "Use Status Bar Template".
This isjust a handy mirror of "Configuration | Colors and Styles |
Templates | Status Bar | Use status bar template".
+ Scripting got a new function.
Name: StatusBarTemplate
Action: Sets or retrieves the status bar template.
Syntax: statusbartemplate([template], [use])
template: The template.
If omitted then the current template is not changed.
use: 0 = don't use it now
1 = use it now
-1 = return current value of this setting
return: Show current template.
Remarks:
- The "template" parameter corresponds to "Configuration | Colors and Styles |
Templates | Status Bar".
- The "use" parameter corresponds to "Configuration | Colors and Styles |
Templates | Status Bar | Use status bar template".
Examples:
echo statusbartemplate(); //show current template
statusbartemplate('|s|<get lengthsselected a 1>'); //set template
echo statusbartemplate(""); //reset template; return the one before the reset
statusbartemplate(, 0); //don't use
statusbartemplate(, 1); //use
echo statusbartemplate(, -1); //show state of use flag
//set template and ensure it's used:
statusbartemplate('<prop #image.dimensions> (<prop #aspectratio>)', 1);
! Extra Tags: Entering a % char into an Extra column of type Number or
Rating Stars caused error 13 (Type mismatch). Fixed.
Note that BETA versions are work in progress and might contain fresh bugs. You have been warned. It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...) before running a new BETA version. This will also help in fixing any fresh bugs.