Change Log for the latest
XYplorer BETA version:
Code: Select all
v24.80.0002 - 2023-08-12 13:42
+ Custom Event Actions: Added new variable <CEA_ClickedColumnCanonic> that is set to the
canonic name (UI language independent) of the clicked column. Works in Details view only.
Proof of concept script:
if (<CEA_ClickedItem>) {
echo "Clicked item: <CEA_ClickedItem>
<crlf>Clicked column: <CEA_ClickedColumn>
<crlf>Clicked column canonic: <CEA_ClickedColumnCanonic>
<crlf>Clicked cell: <CEA_ClickedCell>";
}
Possible return (with UI language set to German):
Clicked item: E:\Test\a\subflux\flux.xys
Clicked column: Änderungsdatum
Clicked column canonic: Modified
Clicked cell: 2023-04-23 19:19:35
* Scripting | Dereferencing: In v14.30.0006 - 2014-07-14 14:30 dereferencing was
disallowed in interpolation. Why? Experimentally, I will now allow it.
$v = "fish";
$vd = '$v';
echo *$vd . ", $v, *$vd, $vd, $v, *$vd"; //fish, fish, fish, $v, fish, fish
$a = array("cat", "dog");
$p = '$a';
*$p[1] = 'horse'; // set dereferenced array element
echo *$p[1] . ", $a[1], *$p[1], $p[1], $a[1], *$p[1]"; //horse, horse, horse, $a[1], horse, horse
Note that the dereferencing is NOT performed recursively but only one time for each variable.
// Non-recursive, returns "It's a *$v!" (*$vd2 -> *$vd -> *$v)
$v = "fish"; $vd = '$v'; $vd2 = '*$vd'; echo "It's a *$vd2!";
// If it was done recursively the return would be "It's a fish!" (*$vd2 -> *$vd -> $v -> "fish")
$v = "fish"; $vd = '$v'; $vd2 = '*$vd'; echo "It's a *$vd2!";
Also HEREDOCs are now dereferenced:
$a = '$b'; $b = "Test"; echo <<<FOO
*$a!
FOO

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.