Directory Opus 13.18
Download manually, or use Help > Check for Program Updates.
The following is a summary of new features and other significant changes from 13.17.
See the New Releases forum for detailed release notes for the various beta versions from 13.17.1 onwards.
QuickShow
The new QuickShow feature (similar to "Quick Look" on OsX) opens a very simple cut-down image viewer without toolbars or menus, hard-coded to appear as large as possible to display the image at its original size.
If the image is larger than the screen it will be reduced in size and you can click and hold the mouse button to enlarge it. In this mode, the only keys that do anything are Escape (close the viewer), and the cursor keys to move to next/previous images.
You can access QuickShow in several ways:
- Via the Space key, by turning on the Viewer > Standalone Viewer > QuickShow > Trigger QuickShow with the Space key Preferences option.
- Via the mouse, by turning on the Viewer > Standalone Viewer > QuickShow > Trigger with the mouse option.
- By creating your own hotkey to run the
Show QUICKSHOW
command.
The options on the QuickShow Preferences page control QuickShow's default behavior. You can override the default settings using the arguments for the Show QUICKSHOW
command - this way you could have multiple QuickShow configurations assigned to different keys if you wanted.
Depending on your Preferences setting, QuickShow will automatically dismiss when you release the key or mouse button that opened it. You can also dismiss the QuickShow window by pressing Esc.
Viewer Pane improvements
The following Preferences options have been added to control the Viewer Pane:
- Viewer > Viewer Pane > Show lock button: Displays a lock button in the Viewer Pane's title bar that lets you lock it to the currently displayed image.
- Viewer > Viewer Pane > Allow download of files from cloud storage: By default the viewer pane will not trigger the download of offline files from cloud storage. You can enable this if you want to.
- Viewer > Viewer Pane > Exclusion List: This page lets you exclude the viewer pane from displaying files in certain folders. You can also use wildcard patterns to exclude specific file types to prevent the pane from trying to show them.
Toolbar format painter
In Customize mode you can now easily copy the icon, label and color settings from one toolbar button to one or more others, using the new "format painter" mode.
The format painter is activated via the button on the Toolbars page in the Customize dialog, or from a button's context menu when in Customize mode.
The first button you click after turning the mode on (or the button whose context menu you used) becomes the source button. You can then click and drag over one or more other buttons to copy the appearance settings to those buttons.
The mode is automatically turned off again when you release the left button. If a toolbar has any of the "override" flags set (e.g. Image state > On), those are automatically deactivated if needed to apply the copied style.
Commands
- Added
SetAttr COLLDATEADDED
command, allows the "Date Added" value for files in collections to be set/changed. - Added
Select TOGGLECHECKS
command, toggles the checkmark state of all selected files when in checkbox mode. - Added argument to open the Customize dialog minimized (without having to open a button editor at the same time).
Prefs CUSTOMIZE MINIMIZE
Toolbar POS
argument now has more mouse-relative modes for positioning floating toolbars. For examplePOS=mouselt
orPOS=mousetl
will put the top-left corner of the toolbar where the mouse is.Set NOOP
command, normally used as a placeholder to make a hotkey or button do nothing and stop running further commands, now has aSet NOOP=Success
variant which does nothing but still allows subsequent commands to run.- Added
Go TABLIST=lockicons
keyword; when specified, icons representing each tab's lock state will be shown to the right of the label. - The
FileType NEW
command now creates anewfilefullpath
variable with the full path of the created file, in addition to the oldnewfile
variable which only has the name. This is useful if the user types a full or relative path that causes the new item to be moved. - Added
@nodrop
modifier which blocks drag and drop on to a button. - The
@requires
directive now accepts the u flag which overrides the "needs files" setting if it's automatically assigned to the function incorrectly. - In user and script commands, raw arguments (/R) can now be used as default arguments (without the argument name needing to be specified).
Evaluator
- The evaluator now supports chained assignments (e.g.
a = b = c = 10;
). - Added evaluator null-coalescing operator (
??
) and null-coalescing assignment operator (??=
). Note that the evaluator does not have a "null" concept so in this context null means an empty string, the value0
or the valuefalse
. - Added evaluator
SetClip()
function. - Added evaluator
ParseDate()
function; allows parsing date strings formatted for the current locale back to a datestamp. - Added evaluator
AdjustDate()
function; allows converting of dates from one timezone to another. - Added the following variables for the evaluator in the context of buttons and functions:
is_right
,is_dual
,tabcount
,tabcount_other
,tabindex
,tabindex_other
- Added
TabPath()
evaluator function in the context of buttons and functions. Lets you query specific tabs by index for their current paths. E.g.TabPath(tabindex+1)
returns the tab to the right of the current one, andTabPath(-1, "d")
returns the current tab on the destination side. - Popup suggestions and tooltips for evaluator functions now work in the normal button editor when inside a
{= ... =}
code, or in a line beginning with=
.
Scripts
-
The
Tab
object has a newunsorted
property which provides unsorted versions of all the various Item collections (e.g.all
,selected
). Normally in FlatView the contents of the various Item collections are sorted so that the contents of expanded folders are listed first. Accessing them through theunsorted
property returns them in the order they appear in the file display. There's alsounsorted.unresolved
which provides an unsorted list of unresolved paths (most useful in file collections). -
The
FileChange
object now properly reports multiple folder levels created simultaneously, instead of just the first level folder. -
In script dialogs, tab controls now respect translated page titles.
-
In script dialogs, listviews with columns specified in the dialog resource now allow translation overlays for the column headers.
-
In script dialogs, the edit control "cue text" property now supports language overlays.
-
FAYT script commands that have configuration flags defined now show a button in the FAYT itself, allowing the flags to be changed directly rather than having to go into Preferences to do it.
-
Added
Date.Parse()
method; allows parsing date strings formatted for the current locale back to a datestamp. -
Added
Date.Adjust()
method; allows converting of dates from one timezone to another. -
The
Wild.Parse()
method now supports the same flags as the evaluatorMatch()
function. -
Added
FSUtil.Run()
method. Allows you to run external programs and optionally capture their output.Run(<cmdline>, [<show>, [<wait>, [<input>]]])
- cmdline: command line, with optional arguments. paths containing spaces must be quoted.
- show: window show type. 0 = hide, 1 = normal, etc.
- wait: set to true to wait for command to finish (necessary to capture output)
- input: optional text to send to command's stdin (wait must be true)
If not waiting for results, returns true or false.
If waiting, returns false on failure, or on success a RunResults object with the following properties:
- exitcode: exit code of the process
- stdout: data written to stdout
- stderr: data written to stderr
Miscellaneous changes
- There is now an English (UK) language variant. The default English language file is officially labeled as English (US) rather than generic English. Please let us know if you spot any spelling differences we may have missed.
- Columns specific to certain types of folders (e.g. Computer, MTP-specific columns, file collection-specific columns, etc.) are now configurable through the File Display Columns / Appearance Preferences page.
- Searches done through the Lister search field (or via the
Find QUERY
command) are now displayed in the Task Manager, and can be aborted through there if needed. - Global everything search now displays a busy indicator in the location bar like other search types.
- If Everything starts running after Opus, any open Listers will now have their folder sizes calculated automatically if the Preferences settings allow it.
- Updated 7z and UnRAR DLLs to the latest versions.
- When the file display is set to Power Mode this is now indicated with a small dot at the bottom right of the Name column header.
- Tab lock states are now shown in the tab switcher (Ctrl+Tab).
- You can now use Preferences > Miscellaneous > Shell Extensions to block property handlers.
- The Microsoft MPEG property handler (mfmpeg2srcsnk.dll) is now blocked by default due to it appearing in a large number of crash dumps. You can unblock it from Preferences > Miscellaneous > Shell Extensions if you need it.
- Added Preferences setting to override automatic detection of the new Open With behavior introduced to Windows 11 recently. May help on some systems where double-clicks are opening the wrong program after recent OS updates. Preferences > Miscellaneous > Advanced: [Troubleshooting] openwith_userchoicelatest
- The text editor used by the button/script editor now has an option to show visible spaces. With this turned on, spaces and tabs are indicated using different glyphs, making it easier to tell them apart.
- Inline Rename control keys now allows Ctrl-C/X/V to be overridden by custom functions.
- In Windows 11, the Microsoft Photos app when launched via double-click now lets you go to the next/previous images in the folder again (at least until Microsoft break it again).
- The simple Select dialog now has an option to deselect on no match.
- If a file in cloud storage is offline and blocked from the viewer pane, it will now try to load a thumbnail from the cloud server via the shell.
- Added "Duplicate" button to various Preferences pages:
- Labels > Label Assignments
- Labels > Label Assignments > In Specific Folders
- Frequently Used Paths > Paired Folders
- Frequently Used Paths > Folder Alises
- File Display Modes > Thumbnails > Styles
- The default Edit menu now includes commands for SHA-256 and SHA-512 checksums/hashes. (A new Calculate Checksums sub-menu now contains the old BLAKE3, MD5, and SHA-1 items, accompanied by new items for SHA-256 and SHA-512. Similarly, the Copy Other > Checksums sub-menu now has items for SHA-256 and SHA-512.)