Download Page: https://www.xyplorer.com/download.php
Code: Select all
v24.60.0100 - 2023-06-26 20:00
= MAINTENANCE RELEASE.
+++ Minor bug fixes and enhancements.
Code: Select all
v24.60.0100 - 2023-06-26 20:00
= MAINTENANCE RELEASE.
+++ Minor bug fixes and enhancements.
Code: Select all
v24.60.0101 - 2023-07-15 19:27
% Document Preview: Some MSG preview handlers steal the application focus. Now XY
steals it back, even when the preview uses a user-defined preview handler.
! SC base64decode: Didn't handle all inputs correctly. Fixed.
For example, this didn't work correctly before; now it does:
echo base64decode(base64encode("ÄÖÜäöüß"));
Code: Select all
v24.60.0102 - 2023-07-16 12:14
% Startup: Now it is ensured that the upper left corner of the main window is visible
and that at least 256 pixels in width and height are visible, no matter which
monitor in your multi-monitor setup has been turned off since the last session.
! File | Duplicate | Copy Here As...: Since 20230116, Ctrl+Arrow selection used
path components instead of words. Fixed.
! SC vartype: Incorrectly returned "string" for array elements where the array existed
but not the key. Fixed.
! SC isset: Incorrectly returned 1 (true) for array elements where the array existed
but not the key. Fixed.
Code: Select all
v24.60.0103 - 2023-07-17 14:00
+ Document Preview: Added tweak to customize the Focus Steal Fix.
PreviewDocsFocusStealFixExt=msg
By factory default (and for upgraders) it's set to "msg" (quotes are optional), but
you now can set it, for example, to "msg.pdf" if your PDF preview handler steals the
focus as well, or to "" if you don't need the fix.
% Portable Devices: When copying items from a portable device to another location, the
pre-processing is now much faster (by a factor of 5 to 10).
% Tabs: Enhanced the X-close button push effect (darkened color).
! Tabs: Moving the mouse over X-close did not react correctly on resolutions > 100%
(target area was wrongly calculated). Fixed.
! Tabs: Moving the mouse between X-close and tab caption caused a flicker on Win10
(and probably later), curiously not on Win8. Fixed.
! Address Bar: The OneDrive icon in the drop-down list was replaced with a "?" icon if
the name contained a " - " sequence, e.g. "OneDrive - Personal". Fixed.
Code: Select all
v24.60.0104 - 2023-07-18 12:52
+ Scripting got a new function.
Name: VarName
Action: Returns the name of a variable. If called in a user function it returns the
original name of the variable in the calling scope.
Syntax: varname(variable, [flags])
variable: Variable, e.g. $a or $a[0].
flags (bit field):
0: As passed [Default].
1: Strip any array index.
2: In calling scope.
return: The variable name depending on the flags.
Remarks:
Flags bit 2 falls back to the current name if there is no calling scope.
Example:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// get the name of a variable in the calling scope
$a[0] = "foo";
// nothing special here; no caller, so varname() falls back to the current name
echo varname($a[0], 2) . " = " . $a[0]; //$a = foo
// go down to a user function
godowntowork($a[0]);
function godowntowork($var) {
echo '$var' . " = " . $var; //$var = foo
// here's the interesting part; varname() returns the original name in the calling scope
echo varname($var, 2) . " = " . $var; //$a[0] = foo
echo "Array name in caller: " . varname($var, 3); //$a
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ Scripting commands setting/settingp enhanced: New named argument "playeventsounds"
to temporarily enable/disable playing event sounds (Configuration | General |
Controls & More | Miscellaneous | Play a sound on certain events).
Example:
setting "playeventsounds", 0; //disable playing event sounds
Code: Select all
v24.60.0105 - 2023-07-19 12:47
+ SC self got a new value "level" for the "info" parameter, and a new parameter "level".
Syntax: self(info, [level])
info:
level: return the level (1 = top level)
level:
0 = self [Default]
1 = 1st level (top level)
2 = 2nd level, etc
-1 = caller of self (one level up)
-2 = caller of caller of self (two levels up), etc
Remarks:
If the desired level does not exist the function returns nothing (no error
message).
Example:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// test SC self
echo self("level"); //self level (1 = top level)
// go down to a user function
godowntowork1();
function godowntowork1() {
echo self("level"); //self level (1 = top level)
godowntowork2();
}
function godowntowork2() {
echo self("level"); //self level (1 = top level)
echo self("script"); //self
echo self("script", -1); //caller (one level up)
echo self("script", -2); //caller of caller (two levels up)
echo self("script", 1); //1st level
echo self("script", 2); //2nd level
echo self("script", 3); //3rd level
echo self("script", 4); //4th level -- returns nothing here
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ SC focus got new parameters.
Syntax: focus [control (L|A|T|C|P1|P2|PI|LFB|PP|FP|XY)]
control:
PP: Preview Pane
FP: Floating Preview window
XY: XYplorer window
Remarks:
PP does not do much apart from taking the focus away from wherever it is now
because the actual preview is contained in a child of the preview pane which at
the moment cannot be focused.
Examples:
focus "FP"; //focus Floating Preview window (nothing happens if there is none)
focus "FP"; wait 500; focus "XY"; wait 500; focus "FP"; //disco
* XY64ctxmenu: Updated to 1.3.0. This version should get rid of the AHK message "Could
not close the previous instance of this script. Keep waiting?" that some users were
getting.
Code: Select all
v24.60.0106 - 2023-07-19 16:56
* View | Folder View Settings | Manage Folder Views...: Now the dialog will
automatically reopen when you're done with the Edit Folder View dialog you opened
from there.
* Updated the help file.
! Configuration | Information | Tags | Auto-refresh tags: If enabled then tags were
not always copied from source to target item if that target item had been deleted
before within the same session. Well, actually they were copied, but only visible
after the next restart because of a DB corruption. Fixed.
Code: Select all
v24.60.0107 - 2023-07-20 11:10
! Address Bar: Using * as a wildcard in locations stopped working, probably on
20211010. Fixed.
First match (alphabetically) wins, for example (your results might differ, it all
depends on the actually existing paths):
C:\Program* --> C:\Program Files
C:\Program Files (x*) --> C:\Program Files (x86)
C:\P*8*\XY* --> C:\Program Files (x86)\XYplorer
D:\* --> D:\$RECYCLE.BIN (or whatever is the first folder in D:\)
Code: Select all
v24.60.0109 - 2023-07-21 17:26
+ Hover Box: You can now copy an image of the current Hover Box contents to the
clipboard by pressing the "C" key.
C: Copy an image of the current Hover Box contents to the clipboard. The status
area is not included. The size is exactly the same as in the Hover Box.
Note that not only images, but also text, PDF previews, archive listings, folder
listings, etc. can be copied to the clipboard this way. Nice.
+ Preview Tab / Preview Pane | Context Menu: Added the new toggle "Close Preview by
ESC". Tick it to make the ESC key close the current preview.
+ SC savethumb: Now you can use the clipboard as image source by passing the special
string <clipimg> in the "file" parameter.
Syntax: savethumb([file=<curitem>], [thumbnail_file="*_thumb"], [widthbox], [heightbox], _
[format="jpg"], [border_width], [flags], [transparency=2], [color_canvas])
file: [optional] The name of the source file.
Defaults to the current list item.
Can be any format that has a thumbnail image (including video files).
Set to <clipimg> to use the current image in the clipboard.
Examples:
savethumb(<clipimg>, "clipboardimage", "100%", , "jpg"); //save as JPG, full size
savethumb(<clipimg>, "clipboardimage", "50%", , "png"); //save as PNG, half size
! Content-Based Folder Icons: Tree icons were not always refreshed for special paths.
Fixed.
Code: Select all
v24.60.0110 - 2023-07-22 10:26
% Address Bar: Win10 and later became much slower than previous versions of Windows in
certain areas of drawing graphics. One particular context where this became very
noticeable was the address bar dropdown at 125% when it contained many scripts
(drawing the script icon was the problem). I have now worked around this to make it
much faster.
! Multiline Message Boxes: Double-clicking on the first/last word in a line also
selected the adjacent word on the previous/next line. Fixed.
Code: Select all
v24.60.0111 - 2023-07-22 15:25
+ Info Panel | Raw View | Orange Button Menu: Added toggle "Resolve Links". Tick it to
raw view the targets of LNK files. Untick it to raw view the LNK files themselves.
Previously, raw viewing the targets was hardcoded.
! Quick Select (>>>): Did not support " " as separator (Boolean OR) alternative to
"|". Fixed. Now it's consistent with the Spot marker >>. For example, this will
select all files in the current list containing either pay or back:
>>>pay back
This will highlight those strings in the filenames:
>>pay back
Code: Select all
v24.60.0115 - 2023-07-22 20:14
+ Thumbnails: Added toggle "Zoom to Fit" to enlarge smaller originals as much as the
current thumbnail size will allow. For example, in the default Large Tiles view, a
16x16 icon is then displayed in 192x192 monster size.
The toggle is currently found only in the context menu of various views related
toolbar buttons, eg "Details View" or "Dark Mode". It is only visible in that menu
if the list is currently in a Thumbnails or a Tiles view.
Notes:
- If the setting is toggled the current thumbnails are all refreshed. This can
be optimized later (to refresh only those that actually can zoom to fit).
- If the original is at least 4 times smaller (in any dimension) than the thumbnail
or the original is <= 32x32, it will be resized without anti-aliasing (the same
rule has been used elsewhere in the application for many years), so you can really
see the fat pixels of your little icons. With anti-aliasing it would just look
awful.
- Hover Box and MDBU work normally. Of course, now they are smaller than the
thumbnail.
- If you rather want to tweak it for whatever reason, this is the key:
ThumbsZoomToFit=1
Code: Select all
v24.60.0116 - 2023-07-23 12:04
+ Configuration | Preview | Thumbnails: Added option "Zoom to fit". Tick it enlarge
smaller originals as much as the current thumbnail size will allow (no cropping).
+ SC ThumbsConf enhanced: Added field "ZoomToFit" to the "settings" argument:
Syntax: thumbsconf([settings="ShowCaption,ZoomToFill,Style,Padding,Transparency, _
ShowIcon,ShowDimensions,OverlayCaption,FolderThumbs,ZoomToFit"], [separator=","])
settings:
ZoomToFit: 0 or 1 or ! (toggle 0/1)
= Configuration | Preview | Thumbnails | Zoom to fit
Example:
thumbsconf(",,,,,,,,,!"); //toggle ZoomToFit
% Thumbnails | Zoom to Fit: Now when toggling the setting, only those thumbnails are
updated that can actually be zoomed to fit. And it's only done while painting, the
thumbnail cache in memory and on disk is not touched. So it's lightning fast now.
Code: Select all
v24.60.0118 - 2023-07-23 19:15
% Image Dupes: Smaller images (<= 256x256) would not always match their large
relatives when they should, due to mysterious circumstances in certain Windows image
scaling routines. Now it's better. You know, working in Windows means working around
Windows.
% Image Dupes: May support more file types. Depends on lots of factors.
! Configuration | Tabs and Panes | Tabs | Reuse existing tabs when changing the
location: If ticked, a locked search results tab could be overwritten when changing
the tree location. Fixed.
Code: Select all
v24.60.0120 - 2023-07-24 10:04
+ Hover Box: The Hover Box now supports Zoom To Fit, so you can get an enlarged view
of smaller images. Toggle the feature by pressing the "Z" key while the Hover Box is
showing.
Z: Toggle Zoom To Fit.
Of course, if the original image is larger than the Hover Box there will be no
visible difference in the Hover Box.
* Hover Box: Factory default size is now 512x512 (was 500x500). Better ratio for Zoom
To Fit.