Folder Formats and Folder Options

Save format

The function in the Folder Options dialog to Save the current folder format now uses a dialog rather than a drop-down menu, making it easier to choose what you want to save the format for.

There are three main options when saving a format:

  

Default format

The old Custom format has been renamed to User Default to try to make its purpose clearer (that is, a default format defined by the user).

The “hard-coded” default format (basic Name/Size/Type/Date/Attributes) is now referred to as Factory default (this really only crops up in a few places, like the Reset Page drop-down at the bottom of the Folder Options dialog).

 

Folder menu

Under the Folder > Folder Formats menu in the default Menu toolbar there are new reset options, including Reset to folder’s format, which undoes any changes you've made and resets things as if you had opened a fresh window and gone to the folder.

 

Columns tab

Available column categories

The old drop-down category list for available columns is gone, and the list of columns is now split into groups in the list itself.

The categories themselves have been expanded and reorganised to make it easier to locate the columns you’re looking for. (These new categories are also reflected in any column lists shown in menus throughout Opus).

 

Column filter

Under the list of available columns there’s now a filter control that lets you filter the list of columns by name.

 

Grouping

In Opus 11 grouping was enabled (and the column to group by chosen) from the list of displayed fields; however, it’s possible to group by a column that’s not actually displayed and the old user interface didn’t allow this.

Grouping is now controlled using a separate setting at the bottom of the Columns tab. The current group column is displayed, if any, and to clear it click the filter_clear.png symbol.  To group by a new column, select the desired column in either of the two column lists above, and click the arrow button. You’ll notice that the arrow button changes between  and  depending on which list was most recently active – this is a visual cue to indicate which list the group column will be set from when the button is clicked.

 

The Reverse order option lets you set the initial group order (how the individual groups are arranged) to the reverse of the default, and Collapsed is a new option that lets you have the groups start out as collapsed.

 

 

Column width

The list of displayed fields has new options for controlling the widths of columns.

 

Column widths have always been slightly complicated by the fact that the Auto-size all columns option is hidden away on another tab (the Display tab). In Opus 12 we’ve tried to improve this by making it more obvious when column widths are being controlled by the global option, and also making that option turn itself off automatically as soon as you edit a column width manually.

 

If the Auto-size all columns option on the Display tab is turned on, all columns will be shown with their widths as Auto (and grayed out to indicate that option is in effect):

As soon as you edit the width of a field, the Auto-size all columns option is automatically turned off. All the other columns will still show their widths as Auto, but it won’t be grayed out any more – this indicates that the column’s width is specifically set to Auto rather than the global option overriding.

 

If you click the Width field of one of the displayed columns, you now see a drop-down menu with a number of width options available:

The options are:

You can also enter a desired pixel width into the Width field.

 

If you're using the new Fill, Expand and Collapse column modes, you may want a quick way to switch everything to auto-size. The following script auto-sizes all columns if any have their widths restricted, and otherwise will reset the folder format (including columns and column widths) to what a new window would show for the folder.

Script Type: JScript

function OnClick(clickData)
{
var anyColumns = false;
var cmdLine = "Set COLUMNSADD=";
for(var e = new Enumerator(clickData.func.sourcetab.format.columns); !e.atEnd(); e.moveNext())
{
var col = e.item();
if (!col.Autosize || col.Max != 0)
{
if (anyColumns) cmdLine += ",";
cmdLine += col.Name;
cmdLine += "(!,a,0)"; // Keep position. Auto-size. No maximum.
anyColumns = true;
}
}
if (!anyColumns) cmdLine = "Set FORMAT=!folder";
clickData.func.command.RunCommand(cmdLine);
}
 

Column maximum width

Columns that are set to automatically size (Auto, Expand or Collapse) can also have a maximum width set using the Max field.

You can enter a maximum size in pixels. For a column set to Auto width you can also choose Fill for the maximum, which makes it auto-size up to but not beyond the width of the file display (to avoid horizontal scrolling), but unlike setting Fill for the width it won’t auto-size larger than it needs to be.

 

Display tab

There are two new options on the Display tab:

 

Filters tabs

The old Filters tab has been split into two – Hide Filters and Show Filters. Other than the outcome of the filter these tabs are identical.

Options have been added to the File names and Folder names options to use regular expressions as well as standard wildcards.

The attributes options are now presented as a list showing the full attribute names rather than checkboxes with the single-letter abbreviation of the previous version.

 

 

Preferences options relating to folder formats

 

Commands relating to folder formats

 

Folder formats scripting