search panel folders subdirectories limit

Features wanted...
giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

search panel folders subdirectories limit

Post by giuliastar »

Hi
about the search panel , could be added to search inside the sub folders but have an option to select how deep xyplorer should search
for example search only 2 subfolders or deep 4 subfolders ,

would be nice to search for example image files or video files or for a name , but search only for the current folder or 2 subfolders

just like total commander ,have this option in the search panel would be amazing powerful
thanks
Image

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: search panel folders subdirectories limit

Post by highend »

Just use the /maxdepth= | /md= switch...
{:Image} /md=2
One of my scripts helped you out? Please donate via Paypal

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: search panel folders subdirectories limit

Post by giuliastar »

highend wrote: 13 Jun 2021 12:48 Just use the /maxdepth= | /md= switch...
{:Image} /md=2
hi
so search for apple current directory
apple /md=0
current and 1 subfolder
apple /md=1

but i guess the developer @admin could add in the gui , would be better !
thanks

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

Re: search panel folders subdirectories limit

Post by admin »

Well, I did not see much demand for this yet.

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: search panel folders subdirectories limit

Post by giuliastar »

admin wrote: 15 Jun 2021 08:37 Well, I did not see much demand for this yet.
Hi
well many users switch to tc when they do need it , just google on other forums
but I guess would not be a great problem to add in the search gui , would be a great feature for searching files

think about external hd with tons of folders and subfoders , need times , would be nice add 2 deep folder and search will be even more powerfull
thanks

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

Re: search panel folders subdirectories limit

Post by admin »

well many users switch to tc when they do need it
:) how do you know?

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: search panel folders subdirectories limit

Post by giuliastar »

admin wrote: 16 Jun 2021 09:41
well many users switch to tc when they do need it
:) how do you know?
hi
googling it , lots of forum , many users swtich to tc for some feature xyplorer doesn't have

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

Re: search panel folders subdirectories limit

Post by admin »

I see more people that switch to XY for various good reasons... :)

Anyway, I see that it would be nice to have, but what I don't see is a cute way to add it. I cannot just slap on a dropdown somewhere near the "Include subfolders" checkbox. And I don't want to replace that checkbox by a dropdown that includes "all", "none", and some levels in between. Such things have to be done with much care... needs thinking... open to suggestions...

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: search panel folders subdirectories limit

Post by Horst »

giuliastar wrote: 16 Jun 2021 09:47
admin wrote: 16 Jun 2021 09:41
well many users switch to tc when they do need it
:) how do you know?
hi
googling it , lots of forum , many users swtich to tc for some feature xyplorer doesn't have
I'm a long time TC user and also since a few month I have a XYplorer life-time license.
Each tool has some functions the other one doesn't have at all (native scripting for example)
or the same function in one is better compared to the other (Sync dirs for example).
I'm happily switch between both and use some of the TC functions inside of XY.
Back to the start topic of this thread
most of the time I use Everything search integrated in TC and by Paper folder in XY.
This is by far the simplest way to get search results fast
and it has so many options TC or XY don't have or would be complicated to specify.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: search panel folders subdirectories limit

Post by giuliastar »

admin wrote: 16 Jun 2021 10:01 I see more people that switch to XY for various good reasons... :)

Anyway, I see that it would be nice to have, but what I don't see is a cute way to add it. I cannot just slap on a dropdown somewhere near the "Include subfolders" checkbox. And I don't want to replace that checkbox by a dropdown that includes "all", "none", and some levels in between. Such things have to be done with much care... needs thinking... open to suggestions...
hi
i got it
the point is that xyplorer is very very powerfull and i guess many feature should be more easy to use , just think about a new user ,he/she need to read very careful the manual ,search in the forum..and find the tons of xyplorer features and only some high end user know
cheers

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: search panel folders subdirectories limit

Post by highend »

The easiest solution would be a very short input field with a tooltip
Depth: <input field>

Tooltip: Enter search level depth (-1 = Full recursion, 0 = No recursion at all, 1 ... <x> = <x> levels deep)

Something like that.

Validate the input. If it isn't a number from -1 to +<x>, reset it to -1
One of my scripts helped you out? Please donate via Paypal

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

Re: search panel folders subdirectories limit

Post by admin »

To replace the "Include subfolders" checkbox? No, I want to keep that. Nothing beats checkboxes. The brain loves binary choices.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: search panel folders subdirectories limit

Post by highend »

Then place it next to "Include subfolders" and only allow values from 0 to <x>?

Although a 0 should probably ghost / uncheck "Include subfolders" :ninja:
One of my scripts helped you out? Please donate via Paypal

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

Re: search panel folders subdirectories limit

Post by admin »

This would be functionally okay with me, but it's so ugly...
Attachments
FindDepth.png
FindDepth.png (17.63 KiB) Viewed 1330 times

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: search panel folders subdirectories limit

Post by Horst »

admin wrote: 16 Jun 2021 11:55 This would be functionally okay with me, but it's so ugly...
I find nothing wrong with it compared to the current look.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

Post Reply