29 September 2016

Directory Opus 12.2.1 (Beta)

Directory Opus 12.2.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.

This is an Opus 12 update. If you are using Opus 11 or earlier then you should not install this beta unless you want to upgrade to Opus 12.



  • Added @disableif and @hideif command modifiers, that let buttons be hidden or disabled based on the result of a function (e.g. @hideif:!Set DUAL=Toggle to hide a button when not in dual-display mode).
  • Added @disableifpath and @hideifpath command modifiers, to allow buttons to be hidden or disabled based on the current source path.
  • Set COLUMNSADD and similar commands can now specify a position for the column and flag that it is only to be used if the column isn't already present. Prefix the position with ! to do this. For example Set COLUMNSADD=Size(!2) would leave the Size column as-is if it already exists, and add it in position 2 otherwise. This also works with relative positions: Set COLUMNSADD=Status(!1+Name).
  • Adding an ! before various conditional modifier tests now work to negate the tests. This has been added for @if:!<blah>, @ifset:!<blah>, @ifpath:!, @ifpathr:!, @ifexists:! and @keydown:! (plus the new @disableif, @hideif, @disableifpath and @hideifpath modifiers).
  • Added Preferences / Viewer / Appearance / Show status icons option to display current image's status icons in the viewer.
  • Added Custom title option to Preferences / Viewer / Appearance.
  • The font used for the rename macro builder is now configurable via Preferences / Display / Colors and Fonts.
  • Added Preferences / Folder Tree / Options / Expand selected branch when changing tabs option.
  • A new setting, Preferences / Miscellaneous / Advanced: context_menu_icon_set, allows you to change the icon set used when generating the Add to Archive and similar context menu items within Opus. For example, if you want the menu items to use the standard 16x16 size (32x32 at 200% DPI, etc.) then you can now do that, assuming a suitable icon set is installed.
  • The Target clause in the advanced filter control now lets you limit matches to shortcuts only to files or only to folders.
  • The breadcrumbs path field has a new dragsafetyoff argument which allows you to copy or move from the breadcrumbs field using drag and drop, without having to explicitly hold Ctrl or Shift. Without the argument, drag and drop from breadcrumbs defaults to creating shortcuts, to avoid accidents.
  • The Customize / Keys list now displays a column showing which Toolbar a key comes from (if applicable). The toolbar name is shown in italics if its Always enable hotkeys option is turned on. The Locate Toolbar button will now open any sub-menus necessary to locate the button that contains the selected hotkey.
  • The Join dialog now adds an output filename by default.
  • Minor improvements to the Split dialog. It now remembers the last size and UUEncode settings you used. "Automatic" size on non-removable devices is now 100MB instead of 1.44MB. Handles splitting to the current folder (vs a destination folder) better.
  • Moved the Start Folder Tree at Preferences option from Folder Tree / Options to Folder Tree / Contents.
  • RAR decompression uses UnRAR.dll again unless overridden. It is faster for some operations and a recent update added support full timestamp accuracy and all three timestamps (Created, Modified, Accessed).
  • The Preferences option Launching Opus / Explorer Replacement / Open external folders in a new tab now routes new tabs to the most recently used Lister, rather than the source Lister.
  • In the advanced button editor, the help button (or F1) will open the page about command modifiers if clicked while on a line for one.
  • Scripting:
    • In script buttons launched via the viewer, clickData.Func.Dialog now has the viewer as its parent window and not the active file display.
    • Fixed problem where the Metadata object could return outdated data in some cases.
    • Group boxes in script dialogs did not refresh properly when their label was changed.
    • The Dialog object's x and y properties can now be set after the dialog has been shown, to move the dialog around the screen.
    • The Dialog object now has cx and cy properties to get and set its size (when the dialog is resizeable).
    • Added Dialog.SavePosition and Dialog.LoadPosition methods, to save and load dialog window position.
    • Added Dialog.Vars method which returns a Vars object associated with the dialog.
    • The Control.RemoveItem method now accepts -1 to clear the entire listbox/combo contents.
    • The Viewer object has new title property which allows the title in a viewer to be changed from a script.
    • Added fg, bg and style properties to the Control object. Currently only supported for static controls.
    • The Command.AddFiles method can now be given a Vector containing Path or strings (full paths), in addition to the Item objects which it previously allowed.
  • (Experimental) Fix for missing separators in some situations, due to menu items which get hidden. If you notice extra or missing separators, or anything wrong with toolbars in menus, please report it so we can investigate.
  • Fixed problem with image metadata writing not working on Windows XP.
  • Fixed problem when using the Show or Slideshow commands on a folder. The viewer correctly enumerated the folder's contents, but also tried to display the folder itself as the first image, resulting in an error message.
  • Fixed toggling checkbox mode not adjusting Auto-Fill column sizes appropriately.
  • Fixed not being able to drag folders from the breadcrumbs field and drop them into file displays.
  • Fixed file displays not always using the drag & drop source's preferred action (link, copy, move) if one was specified and no key was held down to override it.
  • Fixed Click selected tab to go to previous one option interfering with ctrl-clicking folder tabs to link them.
  • The Advanced Filter Type clause used raw names instead of user names for file type groups - didn't affect the default groups but user-created groups would appear as {GUID} strings in the drop-down.
  • If the Copy command was launched with the default Ctrl+1 hotkey it wouldn't prompt for a filter when filter mode was on.
  • Fixed Lister not always coming to the front if you activated it by clicking on an inactive folder tab, where one tab had a warning banner and the other did not.
  • Fixed folder tabs opening next beside the active tab instead of the end when dragging folders or tabs to the end of the tab bar, if certain Preferences settings were combined.
  • Dragging drive roots (e.g. "C:\") from breadcrumbs to the tab bar is no longer blocked and can be used to open them in new tabs.
  • The Properties SETLABEL command would ignore the ADDLABEL switch if a) a category filter was specified and b) SETLABELTOGGLE wasn't also used.
  • Fixed problem with layout separators appearing in the wrong positions.
  • Change in 12.2 would cause replace dialog to move to the right on the second and subsequent invocations if the generated file description was over a certain length.
  • Fixed Inherit columns from other matching formats folder formats option causing the sort order to be inherited/replaced as well.
  • Fixed crash if a script passed Command.AddFiles a Vector containing strings (instead of file Item objects).