Directory Opus 13.14.1 (Beta)

:warning: This is a beta release. It may be unstable. Some text may not be translated yet. Use at your own risk!

:inbox_tray: Download manually, or use Help > Check for Program Updates (if beta versions are enabled in Preferences / Internet / Updates).


Preferences

  • Added Preferences / File Displays / Mouse / Double-click group headers to expand/collapse option. By default single-clicking a group header selects its contents, and double-click expands/collapses it - but in order to see whether a click is going to be a single or a double, Opus needs to wait for the double-click period after the first click before performing the file selection. If this option is turned off, clicking a group header will select the files within it immediately (and double-click will do nothing).

Commands

  • Added Go FORMATPATH command. Reads the path that the current folder format was set for (if any).
  • Added Go REFRESH=state option. The state keyword causes things like file selections and scroll position to be remembered when the folder is refreshed. Note that expanded folder state is not remembered by default - this can be enabled by adding the expanded keyword, or turning on the option in Preferences. If expanded folder state is remembered then the other state elements are also remembered automatically - so the state keyword is only effective if folder expansion is not being remembered.
  • Added Set HIDEFOLDERTABS command. Lets the folder tab bar(s) in a Lister be temporarily hidden.

Miscellaneous

  • Added "menu" as a keyword for @sendkey / DOpus.SendKey functions, to send a context menu key press.
  • Although Opus doesn't use them, CDATA nodes are now supported in Opus XML-based configuration files.
  • If the Go BACK command (or another command that changes folder) is sent externally to a Lister currently showing a context menu, that context menu is now cancelled.
  • Tweaked folder thumbnail padding.
  • The status bar's script error icon is now cleared if you click it in a window where the script log had already been displayed and the utility panel is still open but on a different panel.
  • The status bar's script error icon is no longer suppressed if you view one error in the script log, then switch the utility panel to something else and trigger a second script error within 10 seconds.
  • Added "noclose" option for Prefs LAYOUTTHISLISTER=paths,noclose. Loads tabs from the Lister without closing existing ones.
  • Keep folders sorted alphabetically is now disabled/ignored when Mix files and folders together is on, since the combination doesn't make sense.
  • The folder format explanation is now remembered when going back/forward through the history.
  • Commands launched from menus via the keyboard (but not via a hotkey - using the menu's native keyboard interface) now get told if the shift/ctrl keys were down via the normal channels.

Evaluator

  • Evaluator columns that are set to not cache their values can now be told to auto-refresh periodically (via a field in the column configuration Preferences).
  • Evaluator errors in the script log now show an indication of which evaluator context they came from.

Scripting

  • Script dialogs can now use a "list edit" control. This is a custom Opus control that allows lists of paths or arbitrary strings to be edited by the user. Unlike a listview the control handles almost everything itself - a script simply initialises it with a list of paths/strings (if applicable), and then retrieves the new list when it wants to update its configuration.

    methods/properties:

    • AddItem (single path or string)
    • RemoveItem (individual item, -1 to clear)
    • value (set/get - vector or single - path or string)
    • count
    • mode ("text" / "buttons")

    events:

    • click (data == 1) - reset button
    • click (data == 2) - option button
    • editchange
  • Added ScriptCommand.flags property. Lets you set various flags which affect how your script command runs. If not provided, the default is "sd".

    s - want source folder (will still run without one)
    S - need source folder (will not run without one)
    d - want destination folder
    D - need destination folder
    L - need Lister
    f - want selected files
    F - want selected folders
    N - need selected entries (either files/folders or both depending on other flags)
    w - don't swap source/destination folder if command run against destination

  • Added ScriptStrings.GetEscaped script method. Works the same as the Get method but interprets Javascript-style embedded escape characters in the string. E.g. \n in the string is converted to a new line.

  • Added Format.format_path script property to retrieve the format path from a script.

  • The Path.Drive script method now understands paths like file://C:/ and \\.\C:\

  • The Path.Components script method now understands file://-style paths

  • Path.Parent and Path.Root now fail if the result is an empty string (e.g. if called on an unresolved alias with no subdir).

Fixes

  • Fixed dual-display Lister window icon color not updating when state of "Single display Listers have source/destination modes" Preferences option is changed.
  • Fixed inline rename in the Tab Groups and Layouts Preferences pages allowing you to rename a layout or group to an illegal filename.
  • Fixed problem where turning off "Reset focus entry when sorting file list" didn't (always) work in List mode (and other modes that don't display columns).
  • Fixed viewer hotkeys using Shift+Alt not working.
  • Fixed problem remembering expanded/pinned tree items in layouts with multiple tabs when the "Remember expanded items for tabs" option is on.
  • Fixed problem remembering expanded/pinned folders underneath the Cloud Storage folder.
  • Fixed incorrect sorting when an expanded folder had new folders created below it and keep folders sorted alphabetically was on.
  • Fixed "highlight previous folder" being misaligned when using the Thumbnail column in place of normal file icons.
  • If the FTP/script log is collapsed and then floated with the Set UTILITY=noexpand,float command, the floated window now adopts the uncollapsed height.
  • Fixed collapsed utility panel being expanded by the Set UTILITY=float command if the page it's set to doesn't support floating
  • Fixed inline rename of an item in an expanded sub-folder sometimes losing the focus position.
  • Fixed TabGroup.DeleteChild script method not properly deleting groups within sub-folders.
  • Fixed memory leak that could occur if a script accessed a Lister object in a certain way.
  • Folder Tab Bar preferences now disables/enables a related checkbox if the tab bar position is changed from outside Preferences while it is open.
  • Fix inconsistency with Copy MOVEWHENSAME, subst drives, and drag & drop tooltip predicting what will happen vs the actual action.
  • Fixed startup crash reported by a user.
  • Possible fix for crash ID 476
  • Fix for crash ID 478
  • Fix for crash ID 480
12 Likes