Change Log for the latest
XYplorer BETA version:
Code: Select all
v22.10.0011 - 2021-07-30 16:43
+ Scripting got a new command.
Name: AutomaxColumn
Action: Adjusts the width of a column so that it takes up all of the
remaining space when all the other columns are visible without
scrolling horizontally.
Syntax: automaxcolumn [column], [switches], [minwidth=64], [pane=a]
column: Canonic name of the column to adjust (case-insensitive).
Defaults to "Name".
switches:
a: Autosize all columns first.
minwidth: The column won't get smaller than this.
Defaults to 64 pixels.
pane:
a: [default] active pane
i: inactive pane
1: pane 1
2: pane 2
Remarks:
- For normal columns the canonic name is identical to their English name.
Referencing special columns is a bit harder. You can use this script to
learn about the canonic names of the currenly visible columns:
text setcolumns();
- The command is only effective in views with columns ("Details" and
"Details with Thumbnails").
- The absolute hard minimal width for columns is 19 pixels. You cannot
go below that even if you try.
Examples:
automaxcolumn; //max Name
automaxcolumn "name"; //max Name
automaxcolumn "comment"; //max Comment
automaxcolumn "name", a; //autosize first, then max Name
automaxcolumn "name", , 175; //max Name, keep at least a width of 175 pixels
Note how you can nicely toggle the max width of two columns by alternating these lines:
automaxcolumn "name", a; //autosize first, then max Name
automaxcolumn "comment", a; //autosize first, then max Comment
+ Scripting got a new command.
Name: AutosizeColumns
Action: Adjusts the width of one or more columns to their content.
Syntax: autosizecolumns columns, [pane=a]
columns: comma-separated list of columns, identified by their canonic
name (case-insensitive).
pane:
a: [default] active pane
i: inactive pane
1: pane 1
2: pane 2
Remarks:
- For normal columns the canonic name is identical to their English name.
Referencing special columns is a bit harder. You can use this script to
learn about the canonic names of the currenly visible columns:
text setcolumns();
- The command is only effective in views with columns ("Details" and
"Details with Thumbnails").
Examples:
autosizecolumns "name";
autosizecolumns "modified,size";
autosizecolumns ":s-image.dimensions"; //special properties column
autosizecolumns ":d-10"; //custom column
autosizecolumns "Extra 1,Extra 3,Extra 5"; //some extra columns
! SC moveto, copyto, backupto: The on_collision parameter was not working as
it should since v22.00.0004 - 2021-07-02 15:39. Fixed.
To
download the latest BETA version choose a download package: (1)
Installer Package, (2)
No-Install Package.
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.