Is there any way to create a color filter that affects only the last file in the list?
I'd like a filter to highlight the last and only the last file in the list, regardless if the files are sorted by name, date, size or whatever.
That it. Any help would be appreciated, thanks!
Color filter for last file in list
-
highend
- Posts: 14956
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Color filter for last file in list
That's not possible.
The only way to do something like this is a script that would need to be executed manually whenever you want to highlight the last item, e.g.:
Configuration | General | Refresh, Icons, History | Scripting | [x] Remember permanent variables
must be checked!
The only way to do something like this is a script that would need to be executed manually whenever you want to highlight the last item, e.g.:
Code: Select all
perm $P_LAST_HIGHLIGHTED;
$labelColor = "Orange";
$lastItem = gettoken(listpane(, , , <crlf>), -1, <crlf>);
if (!$P_LAST_HIGHLIGHTED) {
$P_LAST_HIGHLIGHTED = $lastItem;
tagitems("lbl", $labelColor, $lastItem);
} elseif ($P_LAST_HIGHLIGHTED != $lastItem) {
tagitems("lbl", "", $P_LAST_HIGHLIGHTED);
tagitems("lbl", $labelColor, $lastItem);
$P_LAST_HIGHLIGHTED = $lastItem;
}
must be checked!
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club