18 September 2014

Directory Opus 11.7.1 (Beta)

Directory Opus 11.7.1 (beta) is now available for all Opus 11 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.

32-bit version:    Universal    Deutsch
64-bit version:    Universal    Deutsch

Changes:

  • Scripting changes:
    • Added Script.RefreshColumn method that a script can use to cause any instances of one of its columns to be regenerated (e.g. in response to an OnScriptConfigChange notification).
    • All the various NewXXX methods in the DOpus script object (e.g. NewMap) are now deprecated. Instead, these can be created with the new factory object DOpusFactory, which is obtained via the DOpus.Create method. (Note that the old methods will still continue to work, for backwards compatibility.)
    • Added a new StringSet object which is created by the DOpusFactory.StringSet and StringSetI methods. A set is like a Map of names without any associated data.
    • Added the Command.CommandList method, which returns a StringSet of the internal command names.
    • Added the Script.file and ScriptInitData.file properties, which allow a script to query for its own full pathname on disk.
    • Added the DOpus.ReloadScript method, which causes Opus to reload and reinitialize a script as if the file on disk had changed.
  • Added the Help REF=scripting command to open the Help file at the Scripting Reference page.
  • Assigning a comment to a file via the metadata pane could (depending on the file format) cause the file to lose any tags that had previously been assigned to it.
  • It's now possible to set tags and rating for shortcut files.
  • The inline rename "copy next/previous filename" feature now falls back to the Ctrl+<comma> and Ctrl+<period> keys, if either the ' or ; keys require Ctrl or Shift to access them.
  • Fixed the F1 help window coming to front by itself at times.
  • Fixed buttons not running commands that came after a Properties SETWALLPAPER command.

16 September 2014

Directory Opus 11.7

Directory Opus 11.7 is now available as a free update for all Directory Opus 11 users.

Download:

32-bit version:    Universal    Deutsch    简化字
64-bit version:    Universal    Deutsch    简化字

Changes:

  • Scripting changes:
    • Added locked property to the Format script object to retrieve the format lock state.
    • Script configuration variables can now include multi-line strings. To do this, set the variable's default value in OnInit to a string containing a CR/LF pair (or just a CR/LF pair by itself if you want the default value to be empty).
    • A script's configuration variables can now have descriptions assigned to them which are displayed in the configuration editor, using the new config_desc property of the ScriptInitData object.
    • If an OnBeforeFolderChange script runs Go BACK in response to a Go BACK command, the history position would end up wrong (you would actually end up two folders back instead of one).
  • Fixed problem with the Run Now option when a copy job is queued.
  • The way the Rating column was sorted had inadvertently changed - this has been returned to its original behavior.
  • Timestamps in RAR archives could be shifted by the current GMT offset (when using UnRAR.dll instead of 7z.dll for RAR).
  • Fixed the Folder Formats Labels page enable/disable state not being saved to disk.

4 September 2014

Directory Opus 11.6.1 (Beta)

Directory Opus 11.6.1 (beta) is now available for all Opus 11 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.

32-bit version:    Universal    Deutsch
64-bit version:    Universal    Deutsch

Changes:

  • Scripting changes:
    • Added locked property to the Format script object to retrieve the format lock state.
    • Script configuration variables can now include multi-line strings. To do this, set the variable's default value in OnInit to a string containing a CR/LF pair (or just a CR/LF pair by itself if you want the default value to be empty).
    • A script's configuration variables can now have descriptions assigned to them which are displayed in the configuration editor, using the new _descriptions property of the ScriptConfig object.
    • If an OnBeforeFolderChange script runs Go BACK in response to a Go BACK command, the history position would end up wrong (you would actually end up two folders back instead of one).
  • Fixed problem with the Run Now option when a copy job is queued.
  • The way the Rating column was sorted had inadvertently changed - this has been returned to its original behavior.

29 August 2014

Directory Opus 11.6

Directory Opus 11.6 is now available as a free update for all Directory Opus 11 users.

Download:

32-bit version:    Universal    Deutsch    简化字
64-bit version:    Universal    Deutsch    简化字

Changes:

This is a stable release containing all the changes from the 11.5.x beta versions:
Additionally, it includes the following fixes:
  • Fix for folder tree not updating to show added or deleted folders if the parent folder is a Favorite folder and Favorites are shown in the tree.
  • Fix for status bar script error icon not showing if the status bar definition ended with a linefeed.
  • Fix for status bar error icon not responding to clicks when flashed "off".

22 August 2014

Directory Opus 11.5.7 (Beta)

Directory Opus 11.5.7 (beta) is now available for all Opus 11 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.

32-bit version:    Universal    Deutsch
64-bit version:    Universal    Deutsch

Changes:

  • Scripting changes:
    • Added new OnAddCommands and OnAddColumns script methods. These provide an alternative way for a script to add commands and columns. These methods have two advantages over the old OnInit way of adding command and columns. Firstly, the script's configuration is available in these methods whereas OnInit is unable to access it. Secondly, a script can modify its own commands and columns dynamically by calling the new Script.InitCommands and Script.InitColumns methods.

      Note that if either of these methods is provided the equivalent method will no longer be available in the OnInit function, and also if a script is disabled via the Preferences page then commands and columns added by these methods will not be available.

    • Added new OnScriptConfigChange method which is called whenever the user modifies a script's configuration. A script could respond to this event by calling, for example, Script.InitColumns to update its columns based on the user's settings.
    • Added Dialog.defid property that allows the default button in a dialog to be changed from the first one.
    • The OnDoubleClick event can abort further processing when multiple files are double-clicked, by setting the DoubleClickData.cont property to False. Also added the DoubleClickData.call property, which lets a script stop the OnDoubleClick method from being called for subsequent files but allows normal processing to continue.
    • The DoubleClickData object now has a multiple property to indicate that multiple files were double-clicked.
    • Scripts launched via a drag and drop event are now able to determine the source tab of the drop if it came from within Opus.
    • Opus will now recognise scripts with a .txt extension (e.g. .js.txt, .vbs.txt). Also, dropping a (for example) .js.txt file on the scripts Preferences page now strips off the .txt suffix when copying it to the scripts folder. These changes are designed to make it easier to install scripts downloaded from the resource centre.
    • When a script error occurs and no log is currently open to display it, an error icon will now appear in the status bar that the user can click to open the log pane.
    • The Script configuration editor dialog, and the multiple-line text editor that can open from that, are now both resizeable.
    • When Prefs LAYOUT=xyz is run from a script, command.results.newlisters is now populated with any new Listers which were opened. Similarly, Prefs LAYOUT=xyz LAYOUTTHISLISTER=paths will populate command.results.newtabs with any new tabs.
    • It's now possible for an OnBeforeFolderChange script event to run its own Go command (the NOSCRIPT argument must be used).
    • If the script config editor was open and the script in question was edited, the names in the script editor could become corrupted.
    • The Command.SetQualifiers method was ignored.
    • Fixed crash with Python enumeration of Opus script collections.
  • Fixed desktop context menu sorting Lister layouts to the end of the list if their names contained non-ascii characters.
  • Lister Styles no longer start with the Toolbar checkbox set when new. Updating a Style now leaves the checkbox as it is.
  • Opening an empty tab (Go NEWTAB) did not update the Lister's title bar.
  • If a Lister style is already using an automatically generated folder tab group, and you update the style, the existing tab group is now overwritten. Previously, a new and unique tab group would be generated, alongside the old one, but this was more clutter than useful.
  • Fixed using Update on a Lister Style where it would only save the tabs on one side of the Lister if there was only a single tab on the other side, and the style had not previously specified a folder on the side with just one tab.
  • Fixed double-clicking a Style in Preferences and changing its name resulting in two copies of the Style.
  • Commands like Set SORTBY=+modified SORTREVERSE=ToggleSmart which mix a generic field name ("modified", which matches any column showing modified dates and/or times) with SORTREVERSE=ToggleSmart, now respect the ToggleSmart request if the column is already present as the sort column.
  • Fixed opening symbolic links to zip files.

12 August 2014

Directory Opus 11.5.6 (Beta)

Directory Opus 11.5.6 (beta) is now available for all Opus 11 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.

32-bit version:    Universal    Deutsch
64-bit version:    Universal    Deutsch

Changes:

  • Scripting changes:
    • FSUtil.OpenFile can now take a Blob object to create a file handle allowing file-like read/write access to an existing chunk of memory.
    • The FileSize object can now handle signed as well as unsigned values (signed versions are created using FSUtil.NewFileSize("s")).
    • Added FileSize.Mult and FileSize.Div methods.
    • Added Item.groups property which returns a Vector of all file type groups a file is a member of.
  • The Folder Options system now allows attribute filters to be specified for folders and files separately. The Filters tab in the Folder Options dialog has two new sets of attribute buttons allowing these to be configured, and the new Set SHOWFILTERFOLDERATTR and Set HIDEFILTERFOLDERATTR commands allow the filters to be controlled programmatically.
  • The NEWTAB argument can now be used with Go DRIVEBUTTONS=multifunctabs to control how the tabs are to be opened (e.g. Go DRIVEBUTTONS=multifunctabs NEWTAB=findexisting).
  • More changes to MTP support to improve performance and prevent "freezing".
  • Toolbar menus containing labels (as in Insert New > Label) no longer deactivate the Lister window border while open.
  • Styles edited via Preferences can now specify logs be displayed in the utility panel.
  • Improved placement of breadcrumbs pop-up menus when the menu is too tall to fit above or below the button.
  • Fixed breadcrumbs path field sometimes truncating paths in the middle when the window was too narrow, since it could be misleading.
  • Fixed some cases where breadcrumbs menus did not use ghosted icons or the "system" label color for folders with the H and/or S attributes. (On XP/Vista, some cases still remain, due to old OS limitations.)
  • On Windows 7 and above, the breadcrumbs menus now apply the Show System Folders filter in locations where it was ignored in the past. (Desktop and profile folders, and some network folders.)
  • Fixed font picker which was broken in the previous beta.
  • Fix for location field borders not repainting properly if the window was resized while focus was on the field.
  • Fix for change notifications being processed out of order in special situations. (Fixes possibility of blank results collection, until the window was refreshed, after search that returned results almost instantly.)
  • Fixed renaming a folder via the tree to put a dot on the end of a name, showing the dot in the tree (until refreshed) even though it was really trimmed.
  • Fixed drag & drop on files within libraries which need to invoke external drop handlers.

5 August 2014

Directory Opus 11.5.5 (Beta)

Directory Opus 11.5.5 (beta) is now available for all Opus 11 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.

32-bit version:    Universal    Deutsch
64-bit version:    Universal    Deutsch

Changes:

  • Scripting changes:
    • Added FSUtil.SameDrive method.
    • FSUtil.Resolve now returns a Path object rather than a string.
    • FSUtil.Resolve now accepts an optional "j" argument to resolve junctions/links to their underlying targets.
    • Added Path.disks property.
    • The AudioCoverArt object now has width, height and depth properties.
    • Fixed crash when using the Progress.SetFiles method.
  • Added Copy NOQUEUEWHENSAME and Clipboard CUTNOCOPYQUEUEWHENSAME arguments, to disable queuing when the source and destination paths are on the same drive.
  • The jobs bar auto-resize now restores the window size correctly if the window was being moved at the time it tried to resize.
  • The Create Folder dialog now allows you to create multiple fully qualified paths in one go.
  • Fixed another issue where a disabled three-button button could incorrectly be enabled when non-related qualifier keys were pressed.
  • Fix for short delay (500ms) that could happen in some cases when launching a function, following a change in a previous beta. This bug also resulted in "orphaned" progress indicators being left behind.
  • Folder expansion in the tree is now deferred while inline rename mode is active. This is to prevent a crash which could occur if items are inserted while edit mode is active (e.g. by a folder expanding asynchronously).
  • Fix for unintended sort order change in previous beta.