Run this on xyplorer_full_noinstall.zip (latest stable):
/*
setting "BackgroundFileOps", "0"; //avoid timing problems by temporarily switching to synchronous file operations mode
$allitems = get("SelectedItemsPathNames", "|"); //create a |-separated list of full paths+names of all the selected items
foreach ($item, "$allitems", "|") {
// step;
$tst = getpathcomponent("$item", ext);
IF ($tst == "zip") { }
ELSEIF ($tst != "zip") { continue; }
zip_extract("$item", "", "XYplorer.exe"); //extract XYplorer.exe in the same folder the archive is located
step;
$vers = property ("#37", "XYplorer.exe");
*/
You'll get:
set
----
$vers
----
12.90.0.0
Now run the same script on xyplorer_12_80_0004_beta_noinstall.zip:
you'll still get
set
----
$vers
----
12.90.0.0 !!!!!!!!!!
Fine.
Now run
/*
$item = "<curitem>";
text property("#37", "$item");
text property("#39", "$item");
text report("ver {FileVersion}<crlf>", $item); // ver 12.80.0.4
text property("#37", "$item");
text property("#39", "$item");
*/
on XYplorer.exe and you'll have
$item = "<curitem>";
text property("#37", "$item"); // 12.90.0.0
text property("#39", "$item"); // 12.90
text report("ver {FileVersion}<crlf>", $item); // ver 12.80.0.4
text property("#37", "$item"); // 12.80.0.4
text property("#39", "$item"); // 12.80.0004
_________________________
This little story tells us that, currently (as of v 12.90), we *need* to run some report() in order to refresh the version info property() caches somewhere.
Weirdest part is: if you enable "Show version information in the Status Bar (Controls and More - Miscellaneous)", Status bar will immediately read and display correct .exe version info.
Hesitant to fill a bug report, I call for ghostbusters here...
I see dead variables...
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
I see dead variables...
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: I see dead variables...
Similar problem happens with 'report("{modified yyyy-mm-dd hh.nn.ss}", "<curitem>");',
reporting '.00' as second instead of actual seconds. Everything else works as expected.
Also,
echo report("{modified yyyy-mm-dd hh.nn.ss}", "<curitem>");
works as expected even on seconds for the same files, when run from address bar.
No idea on how to work around this.
12.90 on Windows XP.
reporting '.00' as second instead of actual seconds. Everything else works as expected.
Also,
echo report("{modified yyyy-mm-dd hh.nn.ss}", "<curitem>");
works as expected even on seconds for the same files, when run from address bar.
No idea on how to work around this.
12.90 on Windows XP.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
XYplorer Beta Club