View only selected
Posted: 22 Dec 2010 11:55
Is there an option,script,way or anything that will allow me to view only the selected files in the list(they may be with different names and extensions)
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Code: Select all
::filter '"sel" ' . get("SelectedItemsNames", "|"), 1;Code: Select all
//Toggle between Selected items and All items
$tab= tab(,"term");
IF($tab Like "*|*"){
filter;
}
ELSE{
filter '"' . get("SelectedItemsNames", """|""") . '"',1;
}
Code: Select all
//Toggle between Unselected items and All items
$tab= tab(,"term");
IF($tab Like "*|*"){
filter;
sel i;
}
ELSE{
sel i;
filter '"' . get("SelectedItemsNames", """|""") . '"',1;
}
Thanks.admin wrote:Tip: Use the new ", 1" argument with SC filter to get any file names with [ characters as well.
Please update your code, i added a ,1 as suggested by Don.vsub wrote:serendipity I used the first code as button and I was unselecting the items and clicking again on the button to view all files again but with your code is better