View only selected
-
vsub
- Posts: 69
- Joined: 23 Nov 2010 19:07
View only selected
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)
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: View only selected
A script:
Code: Select all
::filter '"sel" ' . get("SelectedItemsNames", "|"), 1;FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: View only selected
Also, i use this from toolbar to toggle :
And the opposite (hide the selected):
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;
}
Last edited by serendipity on 22 Dec 2010 18:54, edited 1 time in total.
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: View only selected
Tip: Use the new ", 1" argument with SC filter to get any file names with [ characters as well.
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: View only selected
Thanks.admin wrote:Tip: Use the new ", 1" argument with SC filter to get any file names with [ characters as well.
-
vsub
- Posts: 69
- Joined: 23 Nov 2010 19:07
Re: View only selected
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 
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: View only selected
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
-
vsub
- Posts: 69
- Joined: 23 Nov 2010 19:07
Re: View only selected
Already did that when I saw his post
XYplorer Beta Club