Directory Opus 11.0 Beta 5

This is a minor bug fix plus several enhancements for the Opus 11 public beta. The full list of new features in Opus 11, along with download links and install instructions can be found here.

  • The @toggle:if directive can now be used to set a button's highlight status based on the existence of a variable (so you can now effectively create your own user-defined buttons that toggle their state).
    • For this to work the @toggle:if must be the very first line of the button.
    • The variable you test for must be of file display, Lister or global scope.
    • The button's visual appearance will only update automatically if @set is used within the button itself to modify the variable. If the variable that determines the toggle state is modified elsewhere (in another button or hotkey), you should use the new @toggle:update directive in that second button to force a refresh once the variable is modified.
    • The new Func.UpdateToggle method does the same thing from a script as @toggle:update does.
  • Scripting changes:
    • Added Tab.format property with basic information about the tab's folder format.
    • Added several properties to make handling checkbox mode easier:
      • Item.checked and Item.selected properties let you tell whether an item was checked or selected (or both)
      • Tab.selstats object provides a version of TabStats that takes checkbox mode into account (i.e. the selected counts are really the checked counts, if checkbox mode is active)
      • TabStats.checkbox_mode indicates if checkbox mode is on or off
    • Added ScriptInitData.version property that lets scripts provide a version number (displayed in Preferences)
    • The Item.modify, .access and .create properties are now returned in local time, to match what is displayed in the Lister. New .modify_utc, .access_utc and .create_utc properties have been added to access UTC time if desired.
    • Added FSUtil.Resolve method to resolve library and collection paths
  • Added Set CALCFOLDERSIZES command to toggle the state of the Preferences / Folders / Folder Behaviour / Calculate folder sizes automatically option.
  • Fixed unrecognised keywords in file-type Info Tip and Tile definitions from outputting the filename followed by part of the unrecognised keyword's name. (Now, the keyword will be output as-is, as if it was literal text.)
  • The Customize Keys list now auto-sizes columns when new hotkeys are added or modified, in case they don't fit in the current (possibly filtered) view.
  • The hotkey editor no longer warns about clashing hotkeys if the existing hotkey is disabled.
  • A newly created hotkey could not be deleted without closing and reopening the Customize dialog.
  • Fixed an issue that prevented view mode toolbars from changing when they should.
  • File Display toolbars did not properly update in a dual Lister if the "activate toolbar when either file display is in that mode" option was turned off.
  • The script-mode CLI was meant to remember its previous script type setting, but this didn't work. It's now also possible to specify the desired language when opening the CLI (e.g. CLI SCRIPTMODE=jscript).
  • The Edit Format dialog displayed via the Tab Group editor now hides the Edit Labels link on the Labels tab (since it's not usable because the dialog is modal).
  • Pressing return on a blank line in the create folder multi-line mode now OKs the dialog (so e.g. you can type a name, then hit return twice to accept it).