12 February 2018

Directory Opus 12.7.2 (Beta)

Directory Opus 12.7.2 (beta) is now available for all Opus 12 users.

This is a preliminary, beta release. Translations may not be fully up-to-date and some English text may appear in non-English versions.



  • WebP images can now be displayed in the viewer, preview pane, thumbnails. The image converter can convert from WebP to other formats (but not the other way around). Alpha channel transparency is supported. Metadata, tiled images (over 16kx16k) and animated images are not currently supported.
  • The advanced command editor now allows commands to be set as WSL Script functions; similar to DOS Batch mode, this runs the command as a WSL (Bash) script. Note that WSL needs to be installed from the Windows Store.
  • Enabled several columns for movie files that previously only worked for music files (even though the metadata panel could show them for movies). The columns are Year, Genre, Title, Artist, Encoded By, Initial Key, Composers, Conductor, and Producers. Also added Directors column since that was missing altogether.
  • The Preferences / File Displays / Border page now lets more than one toolbar to be selected for the file display border.

  • Under Preferences / Toolbars / Appearance, the maximum allowed button spacing values now scale with DPI. (The values themselves already scaled when you moved between machines or DPIs, but the maximum the UI let you enter was always 10 pixels until now.)
  • The vertical button spacing option in Preferences / Toolbars / Appearance can now be applied to individual buttons on vertical toolbars or items in pop-up menus via two new options on the same page.

  • Added Preferences / Folder Tabs / Options / Click selected tab option which lets you control what happens when you click the already active folder tab.

  • A new Extra Line Padding option in Preferences / File Display Modes / Details and Power which complements their older Extra Line Spacing option. (See Line spacing vs padding for example screenshots.) Padding makes each line taller, adding extra space inside the clickable area, similar to using a taller font. Padding is scaled with DPI. (On the other hand, spacing increases the gap between items and is outside the clickable area. With large spacing you get gaps between items which act like the lister background when clicked. Spacing is not DPI scaled as you will probably only want exactly 0 or 1 pixel of it: You can set spacing to 1 pixel to prevent the overlap of selection boxes on newer versions of Windows which causes a thin line between selected items. For everything else, you probably want to use the new padding option.)

  • Improved the interaction between grid lines and extra line spacing in Details and Power modes. If you notice any glitches in how the grids and backgrounds behind/between files are painted, please report them.

  • Added Preferences option Folders / Folder Behaviour / Ignore junctions and softlinks when calculating folder sizes. Also added the GetSizes IGNOREJUNCTIONS argument for to override the option setting.

  • Added new Preferences option Folder Tabs / Options / Process file changes in background tabs. When this is turned off (the default is on), tabs that aren't visible will no longer process file change notifications. Instead they'll be flagged as dirty, and automatically refreshed when you switch to that tab.
  • Added Viewer.AddFile and Viewer.RemoveFile script methods to modify the list of viewed pictures in an existing viewer.

  • Added Recent command COPY argument which lets generated recent list buttons copy (or move) selected files to recent folders automatically. The KEYARGS argument also supports the use of the Copy command in this context.

  • Updated 7z.dll to version 18.01 to address two potential security issues ( https://landave.io/2018/01/7-zip-multiple-memory-corruptions-via-rar-and-zip/ ). Note that we don't think either would affect Opus in its default configuration, but they could be a problem if you switch Opus from Unrar.dll to 7z.dll for RAR files, or if you turn on the ZipX archive type via Preferences.
  • Changed the way the new screen shot function (introduced in 12.7.1) works to avoid conflict with third-party screen shot tools.
  • Fixed possible crash in new filename blurring feature.
  • Added a workaround to prevent corrupted files when dragging and dropping from UltraISO to an Opus window.

  • Fixed an error which could leave large (> 2 GB) image files locked after trying to extract metadata from them.

  • Fixed incorrect size/positioning of folder thumbnails using a single image (folder.jpg) and a non-square thumbnail size set via Show THUMBNAILSIZE.

  • In Preferences, DPI scaling is now applied to the maximum size you can set marked image thumbnails within the viewer.

  • Fixed height of marked image thumbnails in the viewer if the thumbnail size was not configured to be square.

  • Fixed file display scrollbars not updating in existing windows when line spacing was changed in Preferences.

  • Fixed a bug which meant a file's ADS streams may not have been preserved when converting an image in place with the Image CONVERT command.

  • The Image CONVERT command now preserves any XMP metadata embedded in the image file (previously only EXIF data was preserved). For example, in PNG files tags are stored in an XMP tag and previously weren't preserved.

  • Fixed some very minor DPI issues with the search field (top right of default toolbars, and bottom left of Preferences dialog).

  • Fix for separators in the Layouts list appearing in the wrong place within the Desktop context menu, if you had more than one separator.

  • Fixed a situation where the viewer failed to display Office documents if they were currently open in Microsoft Office.

  • Workaround for Microsoft Word documents sometimes appearing clipped in the viewer with newer versions of Microsoft Office.

  • Removed OpenOffice and Adobe Flash extensions from the list which Opus will attempt to view via Internet Explorer by default, since these days they are more likely to cause a Save As dialog to appear than to result in a working viewer via IE. If you were still relying on IE plugins for any of those formats, you can add their extensions back via Preferences.

  • Microsoft Office and other preview handlers are now cached by the viewer pane so that viewing one document and then another will be faster.

  • Fixed problem where the rename Automatically number files when names clash option could get confused if the original name ended in a number followed by a ) character (e.g. ABC (2018-02-06) ).

  • Tidied up the way accelerator keys are assigned in the Rename dialog. (e.g. Previously, if you opened the dialog in Find and Replace mode, the Alt+F key for refreshing the script preview would not work.) Some of the keys have changed as a result.
  • When copying files out of non-zip archives (ones handled by the Archives plugin), you can now retry after a disk full error.
  • In scripting, if a file had no tags, the Item.metadata.tags.count property was undefined instead of reporting 0.

  • Fixed issue which could cause an infinite loop when performing certain rename operations recursively.
  • Fixed an issue when running the Clipboard PASTE command from a script that could cause it to incorrectly paste to the destination file display instead of the source.

  • Fixed problem removing all tags from a PDF file that had no other metadata.

19 January 2018

Directory Opus 12.7.1 (Beta)

Directory Opus 12.7.1 (beta) is now available for all Opus 12 users.

This is a preliminary, beta release. Translations may not be fully up-to-date and some English text may appear in non-English versions.



  • Added the ability to blur filenames and paths in the Lister, in order to take screenshots without revealing potentially sensitive information. The default Help menu has a new Secure Screenshot command in it which lets you take a secure screenshot of the current Lister or the whole desktop (with all Listers blurred).

    Note that at the moment there is no blurring in secondary windows (progress indicators, error dialogs) or in dropdown menus (favorites, breadcrumbs path, etc).

    The Clipboard SCREENSHOT command can take a screenshot of either the current Lister or the whole desktop, with or without blurring of filenames. By default the screenshot is placed in the clipboard, but it can optionally be saved to the desktop automatically. The command can also display an optional countdown timer for taking more complicated screenshots.
  • The Set BLURFILENAMES command can be used to manually turn blurring on and off in the current Lister, if you want to use an external screenshot tool.
  • Added basic support for WSL (Windows Subsystem for Linux):
    • Added CLI DOSPROMPT=wsl command to open a linux shell (assuming WSL is installed in Windows 10).
    • The Clipboard COPYNAMES command has a new wsl argument that copies filenames in WSL (Linux) format, e.g. instead of C:\Test it would copy /mnt/c/test.
    • The /mnt/ format is also understood by path fields, etc (anywhere aliases work).
    • Added a new WSL Command mode to the FAYT; this lets you run linux commands (providing WSL is installed under Windows 10) from the FAYT like you can already run DOS commands. By default the activation key is | (vertical bar).

  • Added Clipboard COPYNAMES quote keyword, to force copied pathnames to be quoted whether they contain spaces or not.
  • The metadata panel can now be used to set the Lens Type EXIF field.
  • Added .mkv to the default list of extensions viewed via Generic ActiveX. This should mean that if the Opus Movie plugin cannot view an MKV then Opus will fall back on the Windows Media Player ActiveX control, which can view them with newer versions of Windows.
  • The metadata panel now notices and updates external changes to the metadata of files it's currently showing in more cases (e.g. if the file is modified externally using a "safe save" technique the panel should now notice).

  • Made changes to the file notification system to improve performance when copying files across a network.
  • The dialog confirming that a copy operation has been queued now has a checkbox on it letting you disable all further confirmations (as well as the existing checkbox which disables them for the current queue only).
  • Opus's Select Folder dialog now has a drop-down providing quick access to any paths currently open in a Lister or tab.

  • Added a workaround to try to prevent TeamViewer from locking up Opus when using the Image Convert function. Opus now also tries to detect TeamViewer and add itself to the exclusion list for TeamViewer's QuickConnect feature, since it seems to cause nothing but problems (for lots of software, not just Opus).

  • Added support for checkboxes to listviews in script dialogs.
    • The listview control can have checkboxes set to Automatic or Manual (as well as Off).
    • In Automatic mode, the state is changed automatically when user clicks the checkbox. In Manual mode, you're notified of the click but must change the state yourself.
    • The Msg object has a new event checked that indicates that the checkbox was clicked.
    • The Msg object has a new checked property that indicates the old check state (for Manual mode) or new check state (for Automatic mode).
    • The DialogListItem object has a new checked property that lets you get or set the check state for an item.
    • Check states are: 0 (unchecked), 1 (checked), 2 (indeterminate), 3 (unchecked/disabled), 4 (checked/disabled), 5 (indeterminate/disabled)

  • Added Blob.Find script method (Blob.Find(<data>, [<start>, [<length>]])).
  • Fixed incompatibility with TumaSoft's PresetViewer Argus in the Opus viewer pane (for viewing Photoshop brushes, shapes, and so on).
  • Fixed a crash in the script dialog editor with a particular combination of control modifications.

  • Fixed a problem where modifying a 7zip archive that was open in the file display could cause the Lister to jump to the parent folder.
  • Fix for submitted crash dump involving Flickr Sync.
  • The tooltips for Go commands which use explicit paths can now use %1 to insert the path into the tooltip string.
  • Fixed the folder tree showing the same library twice when the library was the Lister's default path and libraries were configured to appear under the Desktop branch.
  • Fixed grouping by Label or Status Icon putting each file into its own group in the previous version.
  • The maximum length of the string that can be entered into a {dlgstring} dialog has been increased to 2048 characters.
  • Fixed email address field from appending a backslash after using completion or pushing End twice.
  • Path-completion controls in various dialogs will no longer submit the dialog if you push return while the completion drop-down is open. They now select the chosen path, close the drop-down, and give focus to the edit control. You can then use tab to move to other controls, or push return a second time to submit the dialog.