Change Log for the latest
XYplorer BETA version:
Code: Select all
v24.00.0704 - 2023-02-11 14:37
+ Custom Event Actions: Added a new event "After file operation" to the new section
"File Operations". It is fired when a file operation, including refresh of the
current listings, is complete. The summary report window of a Custom Copy/Move might
still be showing at this time.
Supported file operations are "Move", "Copy", "Delete", "Backup", "CustomCopy",
"CustomMove", "Sync". Note that "Rename" and "New" are currently not among them.
The only possible action is "Run Script". The following new variables can be used in
the script:
<CEA_FileOp> //type of operation (always in English)
<CEA_SourcePath> //source path, without trailing slash
<CEA_TargetPath> //target path, without trailing slash
<CEA_SourceList> //list of source items, |-separated
<CEA_TargetList> //list of target items, |-separated
Proof of concept script (paste into Configuration | General | Custom Event Actions |
After file operation | Script):
text <<<DOC
File Operation: <CEA_FileOp>
Source Path: <CEA_SourcePath>
Target Path: <CEA_TargetPath>
Source List: <CEA_SourceList>
Target List: <CEA_TargetList>
DOC;
Notes:
- You can use this event for example to do automatic check-ups after file operations
and display status messages, or do some automated logging, or play a sound after a
file operation has completed.
- I would not recommend to run follow-up file operations from the script because you
might run into recursion issues.
- It's recommended to use this CEA only with XYplorer's Custom Copy/Move,
because the standard Windows Shell Copy/Move has a somewhat unreliable status
notification system where you cannot be totally sure whether an operation actually
took place or was skipped or canceled, or which items have been renamed to avoid
collisions, and all of this varies between Windows versions, brilliant (the same
issue also affects Undo/Redo).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - help file status quo - - -
* Updated the help file.

To easily
upgrade to this BETA version from XYplorer, hold down the
CTRL key while you click
Help | Online Support | Check for Updates. If you prefer to
download the BETA version, choose one of these packages:
(1)
Installer Package, (2)
No-Install Package (for manual unpacking).
Note that BETA versions are work in progress and might contain fresh bugs. You have been warned. It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...) before running a new BETA version. This will also help in fixing any fresh bugs.