GP SoftwareTwitter
Opus FAQsManualCommandsObjects

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.


[li] Universal version (all supported languages)[/li]
[li] Deutsch Version[/li]
[li] 中文版[/li][/ul]


[li]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).
[/li][li]Added @disableifpath and @hideifpath command modifiers, to allow buttons to be hidden or disabled based on the current source path.
[/li][li]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).
[/li][li]Adding an ! before various conditional modifier tests now work to negate the tests. This has been added for @if:!, @ifset:!, @ifpath:!, @ifpathr:!, @ifexists:! and @keydown:! (plus the new @disableif, @hideif, @disableifpath and @hideifpath modifiers).
[/li][li]Added Preferences / Viewer / Appearance / Show status icons option to display current image’s status icons in the viewer.
[/li][li]Added Custom title option to Preferences / Viewer / Appearance.
[/li][li]The font used for the rename macro builder is now configurable via Preferences / Display / Colors and Fonts.
[/li][li]Added Preferences / Folder Tree / Options / Expand selected branch when changing tabs option.
[/li][li]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.
[/li][li]The Target clause in the advanced filter control now lets you limit matches to shortcuts only to files or only to folders.
[/li][li]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.
[/li][li]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.
[/li][li]The Join dialog now adds an output filename by default.
[/li][li]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.
[/li][li]Moved the Start Folder Tree at Preferences option from Folder Tree / Options to Folder Tree / Contents.
[/li][li]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).
[/li][li]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.
[/li][li]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.
[li]In script buttons launched via the viewer, clickData.Func.Dialog now has the viewer as its parent window and not the active file display.
[/li][li]Fixed problem where the Metadata object could return outdated data in some cases.
[/li][li]Group boxes in script dialogs did not refresh properly when their label was changed.
[/li][li]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.
[/li][li]The Dialog object now has cx and cy properties to get and set its size (when the dialog is resizeable).
[/li][li]Added Dialog.SavePosition and Dialog.LoadPosition methods, to save and load dialog window position.
[/li][li]Added Dialog.Vars method which returns a Vars object associated with the dialog.
[/li][li]The Control.RemoveItem method now accepts -1 to clear the entire listbox/combo contents.
[/li][li]The Viewer object has new title property which allows the title in a viewer to be changed from a script.
[/li][li]Added fg, bg and style properties to the Control object. Currently only supported for static controls.
[/li][li]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.

[/li]li 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.
[/li][li]Fixed problem with image metadata writing not working on Windows XP.
[/li][li]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.
[/li][li]Fixed toggling checkbox mode not adjusting Auto-Fill column sizes appropriately.
[/li][li]Fixed not being able to drag folders from the breadcrumbs field and drop them into file displays.
[/li][li]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.
[/li][li]Fixed Click selected tab to go to previous one option interfering with ctrl-clicking folder tabs to link them.
[/li][li]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.
[/li][li]If the Copy command was launched with the default Ctrl+1 hotkey it wouldn’t prompt for a filter when filter mode was on.
[/li][li]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.
[/li][li]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.
[/li][li]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.
[/li][li]The Properties SETLABEL command would ignore the ADDLABEL switch if a) a category filter was specified and b) SETLABELTOGGLE wasn’t also used.
[/li][li]Fixed problem with layout separators appearing in the wrong positions.
[/li][li]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.
[/li][li]Fixed Inherit columns from other matching formats folder formats option causing the sort order to be inherited/replaced as well.
[/li][li]Fixed crash if a script passed Command.AddFiles a Vector containing strings (instead of file Item objects).[/li][/ul]

Highlighting in dialogs
DO12 - The new MARK function, suggestion
Context menu based on "stem_m" or path (wildcard)
Explorer Replacement not available
Menu Separator Glitch
Get Script dialog size/position