Integration of Everything [voidtools]

Discuss and share scripts and script files...
Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Integration of Everything [voidtools]

Post 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:
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

jaywalker32
Posts: 205
Joined: 27 May 2014 05:24

Re: Integration of Everything [voidtools]

Post 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.

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Integration of Everything [voidtools]

Post by Filehero »

Noob question: what's the syntax to get all files on drive "C:"?

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

Re: Integration of Everything [voidtools]

Post by highend »

f:c:\
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Integration of Everything [voidtools]

Post 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

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

Re: Integration of Everything [voidtools]

Post by highend »

Probably just too many files...
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Integration of Everything [voidtools]

Post 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:

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

Re: Integration of Everything [voidtools]

Post 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.
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

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Integration of Everything [voidtools]

Post by Filehero »

It's not useless, it's impossible. ;-)

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

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

Re: Integration of Everything [voidtools]

Post 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?
One of my scripts helped you out? Please donate via Paypal

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

Re: Integration of Everything [voidtools]

Post 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.
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

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

Re: Integration of Everything [voidtools]

Post 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
One of my scripts helped you out? Please donate via Paypal

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

Re: Integration of Everything [voidtools]

Post 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.
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

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Integration of Everything [voidtools]

Post 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.

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

Re: Integration of Everything [voidtools]

Post 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.
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