Page 4 of 11

Re: Integration of Everything [voidtools]

Posted: 22 Aug 2021 15:30
by Horst
Better again :D
This script is one of the best parts in my XY usage.
Bad news for Don, I almost never use XY native search,
but the same is true for Total Commander :biggrin:

Re: Integration of Everything [voidtools]

Posted: 22 Aug 2021 22:19
by jaywalker32
highend wrote: 17 Aug 2021 15:50 Just as a proof of concept...

Download the attachment

Create XYplorer paperfolder from Everything content.xys
Thanks. This works.
I added a context menu option to call this from the Everything result view, and send to xy.

Re: Integration of Everything [voidtools]

Posted: 25 Aug 2021 23:01
by Filehero
Noob question: what's the syntax to get all files on drive "C:"?

Re: Integration of Everything [voidtools]

Posted: 25 Aug 2021 23:07
by highend
f:c:\

Re: Integration of Everything [voidtools]

Posted: 25 Aug 2021 23:14
by Filehero
highend wrote: 25 Aug 2021 23:07f:c:\
Thanks (and I was right, uff).

Then I get an (with v0.8 and v0.9.1)
Error: 7 (0x00000007)
Desc: Nicht genügend Speicher
Dll: 0
Proc: script_Process: set

Source: XYplorer
XY ver: XYplorer 22.10.0205
OS: Windows 10 Professional, 64-bit, Release 2009, Build 19043.1165
Locale: 1031 (de-DE)
ANSI: 1252, ACP: 1252 (ANSI - Lateinisch I)
Font: Segoe UI 9,75, DBCS: No
DPI: 96 (100%), 2560x1440

Date: 2021-08-25 23:10:36

Re: Integration of Everything [voidtools]

Posted: 25 Aug 2021 23:22
by highend
Probably just too many files...

Re: Integration of Everything [voidtools]

Posted: 26 Aug 2021 08:18
by Filehero
Acc. to Everything it's 624.431 files.

Sort of confirmation: the same error occurs with XY's Quick File Search. Well, probably too many files. :mrgreen:

Re: Integration of Everything [voidtools]

Posted: 26 Aug 2021 09:20
by Horst
Filehero wrote: 26 Aug 2021 08:18 Acc. to Everything it's 624.431 files.

Sort of confirmation: the same error occurs with XY's Quick File Search. Well, probably too many files. :mrgreen:
Such query is useless in XY, make it in the Everything GUI.

Re: Integration of Everything [voidtools]

Posted: 26 Aug 2021 09:52
by Filehero
It's not useless, it's impossible. ;-)

But you're right, and it's not a biggie anyway.

Re: Integration of Everything [voidtools]

Posted: 26 Aug 2021 09:58
by highend
Should I maybe add a confirmation dialog if somebody tries to do a

Code: Select all

^(f:|d:)?([a-z]:\\)$
search?

That's a regex above, it means:
either f: or d: (or none of them) followed by a e.g. c:\, d:\, ...
without anything before or behind it

or maybe a new option:
AllowFullDriveSearch=0

and if set to 1, do it, otherwise throw an error window?

Re: Integration of Everything [voidtools]

Posted: 26 Aug 2021 10:08
by Horst
I don't think thats necessary.
You don't know if some query ends in to much files
because the user may provide some regex or other complicated queries which you can't analyse.
Simply add some general warning in the Notes text.
Nothing bad or serious happens anyway.

Re: Integration of Everything [voidtools]

Posted: 26 Aug 2021 10:17
by highend
XY can crash, I won't say "nothing bad can happen" :titter:

Another idea:

Code: Select all

^(f:|d:)?([a-z]:\\) /f$
That would be a "force" switch.

If provided it will be done, otherwise not. Could be integrated into the description

Re: Integration of Everything [voidtools]

Posted: 26 Aug 2021 10:43
by Horst
^(f:|d:)?([a-z]:\\) /f$
You can make such a check as an option but personaly I would not enable it.
I have several drives which contain large backup sets for example
that can be listed completely without any out of memory problems.
Drive c:\ is the only problematic one.

Re: Integration of Everything [voidtools]

Posted: 26 Aug 2021 12:21
by Filehero
@highend, Horst: Thanks.

Actually, it's the first time - afair - I realize, that "C:\" contains more files than all my remaining drives/partitions (5) combined. It's indeed a little surprise that even my "data-I-cannot-part-with" drives appear to be rather uncluttered by file number.

Re: Integration of Everything [voidtools]

Posted: 26 Aug 2021 12:32
by Horst
That is an example where a x64 version of XY would be a benefit.
My x64 Total Commander which uses the Everything SDK can make such a query.
It runs some time but finishes without memory problems.
Of course I only did this just for testing.
Such global queries work in the Everything GUI without any delay.