Code: Select all
$explorer = "%windir%\explorer.exe";
if (exists("<curitem>") == 1) { // Selected file
run """$explorer"" /select,""<curitem>""";
} elseif (exists("<curitem>") == 2) { // Selected folder
run """$explorer"" ""<curitem>""";
} else { // No selection
run """$explorer"" ""<curpath>""";
}
It seems to have something to do with this particular part:
Code: Select all
if (exists("<curitem>") == 2)
Code: Select all
$explorer = "%windir%\explorer.exe";
if (exists("<curitem>") == 1) {
run """$explorer"" ""<curitem>""";
} else { // No selection
run """$explorer"" ""<curpath>""";
}
But if I only change it to 2 (for selected folder) like this:
Code: Select all
$explorer = "%windir%\explorer.exe";
if (exists("<curitem>") == 2) {
run """$explorer"" ""<curitem>""";
} else { // No selection
run """$explorer"" ""<curpath>""";
}
In 19.50 it works OK.
If it's not a bug, I apologize for disturbance and false accusations.