11.8 14th November, 2014
- 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.
- When a script is reloaded, any commands it had previously added are now
removed before the script is reinitialised, so that if the script looks at
the list of commands (DOpus.Create.Command.CommandList) it
won't see its own commands listed.
- A tab created by dropping a folder on the tab bar did not correctly
report to scripts if it was on the right side of a dual-display Lister.
- Vectors used in script configuration values now preserve empty lines.
- Added crumbpath and lock properties to
the Tab object.
- Fixed scripts not working as file type events.
- Added the following additional notifications to the
OnListerUIChange event: duallayout,
metapanelayout, viewerlayout, toolbars,
toolbarset, toolbarsauto, minmax
- Fixed a bug when using tags via script Metadata object
(if the file in question came from a tab, retrieving the tags from the
object would cause the file to lose its tags in the file list).
- Fixed crash if FSUtil.GetMetadata was called without
assigning the result to anything.
- The FSUtil.SameDrive function has a new
c flag which tells it to treat a CD burner staging area as
the CD drive itself.
- Added the Help
REF=scripting command to open the Help file at the Scripting Reference
page.
- Added Go NEXTCRUMB and Go LASTCRUMB
commands.
- Added the SETFOCUS argument to the Select
command. Similar to MAKEVISIBLE but it also causes
the viewer pane to show the first selected file automatically. Also, the
MAKEVISIBLE and SETFOCUS arguments now
ensure the first matching file is made visible even if it was already
selected.
- The Set COLUMNSADD command now provides a simple way to
resize existing columns without moving them, by specifying !
for the position. For example, Set COLUMNSADD=desc(!,200)
will resize the description column to 200 pixels without moving it. (If the
column isn't on already, it is added to the end, the same as if
* was used for the position.)
- 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.
- If "Access-Based Enumeration" is enabled for a network share, and a folder
the user has no access to is modified (e.g. a file is created within it), Opus
would still see the file change and add the folder to the display. Opus now
checks if ABE is enabled on a share and if so, specifically checks if it can
access the folder before adding it to the list.
- Choosing "Skip Identical" in the Replace File dialog no longer
sets the copy operation into Keep Newer mode should it later be
switched to Unattended.
- Changed copy parameter name for clarity. Copy
WHENEXISTS=replacenewer is now Copy
WHENEXISTS=keepnewer. The old name still works to maintain
compatibility with existing buttons.
- The breadcrumbs path control would show an incorrect path if you went
directly from Desktop to C:\.
- The jobsbar_no_arrow advanced option now works properly.
- Select SOURCETODEST and DESTTOSOURCE now
fail silently with no destination file display, instead of prompting for a
folder.
- The @icon directive did not work correctly for icons from
external files (e.g. DLLs or EXEs) if an icon index was specified.
- Fixed commands with Set THUMBNAILSIZE not running any
commands after that line.
- Fix for character encoding issue when saving MP3 ID3 tags in some locales.
- Greatly reduced delay when using the context menu to extract non-zip
archives which contain thousands of folders.
- If the metadata panel fails to apply metadata changes because of a sharing
violation, it now checks viewers to see if the file is currently being viewed,
and closes it again before retrying.
- The Set LAYOUT=Remember command did not properly record
the toolbars that were open.
- Buttons that use @ifset etc. with a global variable now
work correctly in a floating toolbar.
- Fixed failure to launch double-clicked symbolic links which ultimately
resolved to volumes without a drive letter. (e.g. Symbolic link to junction to
mount point to volume with no letter.)
- Changed behaviour of double-clicks on symbolic links, so the unresolved
path is launched. This is consistent with Explorer and allows you to e.g.
create symlink.txt pointing to original.csv and then open
the same file as either plain text or CSV, depending on which you
double-click. (Exception: Symbolic links to exe files are still resolved,
otherwise they do not work at all.)
- Running the same user-defined command more than once in a single button
did not work.
- The Set COLUMNSADD command now works on the Name
column, allowing you to move and resize it.
- Improved the dopusrt.exe /info information-exporting
tool's handling of localized folder names. For each folder tab, the main paths
it returns are now always the "real" paths, and separate
display_path values are returned with the localized paths.
- Drag & drop from C:\ to a CD burner (using the default Copy
MOVEWHENSAME function) would move rather than copy, as the CD burning
staging area is technically on the C:\ drive. This is now considered a copy
across devices, and files will be copied by default.
- Fixed some hotkeys on the default Operations toolbar (e.g.
Ctrl+1 for Copy Files) not working if the
toolbar was turned off and Always enable this toolbar's keys in
Listers was turned on.
- Fixed queued Copy MOVEWHENSAME copies (which are
usually started via drag-and-drop) always saying "Copy" in the list of queued
jobs, even if the operation would ultimately result in a move. (The operation
itself was always correct, even if mislabeled in the queue list.)