Live Filter - Include Subfolders

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
adamfrank321
Posts: 2
Joined: 15 Jul 2016 22:20

Live Filter - Include Subfolders

Post by adamfrank321 »

Is it possible to include results from subfolders when using the Live Filter feature (similar to "Find Files" > "Include Subfolders")?

Thanks in advance :beer:

highend
Posts: 14566
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Live Filter - Include Subfolders

Post by highend »

Welcome to the forum.

You could activate a files only branch view for that to work, e.g.:

<your folder>\? /flatfiles

and then you'll see all files that match the live filter box for all subfolders...
One of my scripts helped you out? Please donate via Paypal

TSS
Posts: 24
Joined: 24 May 2013 18:00

Re: Live Filter - Include Subfolders

Post by TSS »

I'm still not sure what to do to search inside folders. What should I tick (or untick) to make it works? Now I can only search inside active folder.
Attachments
Clipboard-20160719.png
Clipboard-20160719.png (35.07 KiB) Viewed 4464 times

highend
Posts: 14566
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Live Filter - Include Subfolders

Post by highend »

You have to append "\? /flatfiles" to the path in the address bar

E.g. the path in the address bar is currently:
D:\Music
and you want a files only branch view for that folder, modify it to:
D:\Music\? /flatfiles
and hit {ENTER} afterwards

As an alternative a little script that does it for you:

Code: Select all

goto tab("get", "path") . "\? /flatfiles";
Or:
Configuration | Find Files & Branch View | Branch View | Default branch view type
Choose "Files only"

and instead of doing it manually or using a script you can use Menu - View - Views - Branch View
to switch to this "/flatfiles" view but this is set as a default for this menu entry (and I don't know if you want that)

You can then use the live filter to filter for all files in all (sub-)folders...
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Live Filter - Include Subfolders

Post by yusef88 »

highend wrote:

Code: Select all

goto tab("get", "path") . "\? /flatfiles";
why this makes branch view for selected folder instead of current path?

highend
Posts: 14566
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Live Filter - Include Subfolders

Post by highend »

why this makes branch view for selected folder instead of current path?
Execute this:

Code: Select all

?goto tab("get", "path") . "\? /flatfiles";
And show two screenshots:
1. The one before you execute it which shows the address bar and the list with the selected folder

2. Another one when the Script debug window is there
One of my scripts helped you out? Please donate via Paypal

TSS
Posts: 24
Joined: 24 May 2013 18:00

Re: Live Filter - Include Subfolders

Post by TSS »

Thank you highend.
I just add new button "branch view" to the toolbar and it's best option (I think) for me :) thanks again!

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Live Filter - Include Subfolders

Post by aurumdigitus »

Interesting thread. Frequent user of Branch View. Often have to leave computer then return much later having forgotten just what was going on.

It would be useful if Branch View had a stronger visual cue just "branch view done in x ms" in the Status Bar. Maybe something like the Color Change Information Bar when it is active.

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Live Filter - Include Subfolders

Post by yusef88 »

maybe "/flatfiles" switch is the reason
for instance using other search switch treats the tab's path not the selected folder

Code: Select all

goto "?/types={:Media}"
Attachments
1.png
1.png (10.95 KiB) Viewed 4421 times
2.png
2.png (22 KiB) Viewed 4421 times
3.png
3.png (10.84 KiB) Viewed 4421 times

highend
Posts: 14566
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Live Filter - Include Subfolders

Post by highend »

*baffled*

Can't explain why it chooses the selected folder to make the branch view. The output of the command states that it would just use the
"E:\Download" folder^^ And it works like it should on my system...
One of my scripts helped you out? Please donate via Paypal

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Live Filter - Include Subfolders

Post by LittleBiG »

yusef88 wrote:maybe "/flatfiles" switch is the reason
for instance using other search switch treats the tab's path not the selected folder

Code: Select all

goto "?/types={:Media}"
It seems you use a version older than 17.00.0008

Code: Select all

v17.00.0008 - 2016-07-14 19:22
    ! Branch View: A Branch View triggered via /flat switch would be applied to 
      any selected subfolder(s) instead of the folder passed with the switch. 
      This should not happen. Fixed.

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Live Filter - Include Subfolders

Post by yusef88 »

Yes! that's true.. thanks. :tup:
LittleBiG wrote:It seems you use a version older than 17.00.0008

Code: Select all

v17.00.0008 - 2016-07-14 19:22
    ! Branch View: A Branch View triggered via /flat switch would be applied to 
      any selected subfolder(s) instead of the folder passed with the switch. 
      This should not happen. Fixed.

admin
Site Admin
Posts: 64841
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Live Filter - Include Subfolders

Post by admin »

adamfrank321 wrote:Is it possible to include results from subfolders when using the Live Filter feature (similar to "Find Files" > "Include Subfolders")?
There are plans to optionally turn the "Live Filter Box" into a "Live Quick Search Box". I think that would be what you are after.

yogi
Posts: 116
Joined: 18 Feb 2010 09:05

Re: Live Filter - Include Subfolders

Post by yogi »

admin wrote: 13 Aug 2016 10:28
adamfrank321 wrote:Is it possible to include results from subfolders when using the Live Filter feature (similar to "Find Files" > "Include Subfolders")?
There are plans to optionally turn the "Live Filter Box" into a "Live Quick Search Box". I think that would be what you are after.
Found this thread because I also want to accomplish the same... a quick/easy/simple way to include results from subfolders. Did the plans to optionally turn the "Live Filter Box" into a "Live Quick Search Box" ever happen? If so, please tell me how to do it. Thank you!

admin
Site Admin
Posts: 64841
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Live Filter - Include Subfolders

Post by admin »

Not yet.

Post Reply