Change Log for the latest
XYplorer BETA version:
Code: Select all
v21.30.0005 - 2020-11-30 13:17
+ Custom Event Actions (CEA): Now you can run or load a script at the event
of browsing to a new folder. Note that there is no action when the current
folder is rebrowsed, i.e. refreshed.
Like all CEAs, it is currently only implemented as a tweak.
Example for the tweaked INI file:
; Tweak: 0=None, 1=Before Browse, 2=After Browse, 3=Both
CEA_OnBrowseScript=1
CEA_OnBrowseScript_Script=echo "Hi!"
You would probably use a script that loads some script file that does
some interesting things. This would load "AfterBrowse.xys" (located in the
Scripts subfolder of the app data folder) after browsing a folder:
CEA_OnBrowseScript=2
CEA_OnBrowseScript_Script=load "AfterBrowse"
To do something useful the script should know about the new path. You can
refer to it by the new variable <newpath>. It will return the full new
path, without trailing backslash. For example:
CEA_OnBrowseScript=1
CEA_OnBrowseScript_Script=echo "Going to <newpath>."
If you want to call one script before and another script after the browse
you can pass 2 scripts separated by "||":
CEA_OnBrowseScript=3
CEA_OnBrowseScript_Script=echo "Going to <newpath>."||echo "Went to <newpath>."
! Folder Contents Preview: The width of the popup was a little too wide
sometimes. Fixed.
> Added three events to the debug log conc. multi-monitor systems.
To
download the latest BETA version choose a download package: (1)
Installer Package, (2)
No-Install Package.
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.