Download:

Changes:

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).

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.

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.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.