Integration of Everything [voidtools]

Discuss and share scripts and script files...
highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Integration of Everything [voidtools]

Post by highend »

Is there a way to call the Everything.exe ui via a script and get the search results on exit, and use THAT to create the paper folder?
In a fully automated way? No. By writing an e.g. ahk script and executing it afterwards? Sure
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: Integration of Everything [voidtools]

Post by admin »

No such plans ATM.

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

Re: Integration of Everything [voidtools]

Post by highend »

Just as a proof of concept...

Download the attachment
Change the extension to .ahk
Adapt the getCols := "2,1" assignment (my second column is Path, the first one Name -> path column number must be the first!)
Compile it
Run it when you have content in your Everything window and want to create the paperfolder...
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 »

jaywalker32 wrote: 17 Aug 2021 11:32 Is there a way to call the Everything.exe ui via a script and get the search results on exit, and use THAT to create the paper folder?
Since on the UI you can modify the search query and fine tune the result set in real time.

Is there any plans for implementing an indexed search feature similar to Everything natively in XY?
In Highends normal Everything search script
you have the full Everything search syntax, macros, modifiers and functions available.
This allows the same searches as in the Everything GUI.
The only exeption from this are bookmarks.
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

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

Re: Integration of Everything [voidtools]

Post by Horst »

highend wrote: 17 Aug 2021 15:50 Just as a proof of concept...

Download the attachment
Change the extension to .ahk
Adapt the getCols := "2,1" assignment (my second column is Path, the first one Name -> path column number must be the first!)
Compile it
Run it when you have content in your Everything window and want to create the paperfolder...

Create XYplorer paperfolder from Everything content.xys
Works fine but for my preferences the resulting paperfolder should have name as first column and path as 2nd.
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 »

Works fine but for my preferences the resulting paperfolder should have name as first column and path as 2nd
It's the setting for the columns in Everything, not XYplorer^^
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 »

highend wrote: 17 Aug 2021 17:48
Works fine but for my preferences the resulting paperfolder should have name as first column and path as 2nd
It's the setting for the columns in Everything, not XYplorer^^
Don't understand ?
The columns in my Everything GUI are Name, Path, Size, Date modified.
This matches your assigment in the script for the first 2 columns.
But in the resulting Paper folder I get Path, Name, Ext, Size, Modified, Attr
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 »

If you want a different layout in XY you could enhance the script part of the .ahk file in xyQueryScript =...
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 »

highend wrote: 17 Aug 2021 18:46 If you want a different layout in XY you could enhance the script part of the .ahk file in xyQueryScript =...
Not yet, its to complicated :biggrin:
Testing the script was just for fun.
Normaly I use the Everything script for queries and don't need the GUI.
The same is for my Everything usage in Total Commander where I also have to full syntax and integration without the 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 »

I always get a return message
Error 8: Everything IPC window not found. Please make sure Everything is running.
logged into the paperfolder.txt.

I use
- the 64x portable "installation" of 1.5a
- get the error with or without Everything (and the service) running.

Running
C:\path\everything64.exe -startup
didn't help as well.

How do I provide the "IPC window"?

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

Re: Integration of Everything [voidtools]

Post by Horst »

Filehero wrote: 18 Aug 2021 21:37 I always get a return message
Error 8: Everything IPC window not found. Please make sure Everything is running.
logged into the paperfolder.txt.

I use
- the 64x portable "installation" of 1.5a
- get the error with or without Everything (and the service) running.

Running
C:\path\everything64.exe -startup
didn't help as well.

How do I provide the "IPC window"?
Let install it the service and start Everything before you run es.exe via the script.
You also have to enter the folllowing setting in the Everything-1.5a.ini or Everything.ini
alpha_instance=0
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 »

Horst wrote: 18 Aug 2021 22:01 alpha_instance=0
That was it! Thanks, Horst! :)

And kudos to Marco and highend for providing that bridge to Everything!

Well, after several "I really should try it now"s I finally ran Everything for the first time - and I'm stunned. :shock:

Unfortunately it's out of reach, but XYplorer and Everything are Yin and Yang.

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

Re: Integration of Everything [voidtools]

Post by admin »

Filehero wrote: 18 Aug 2021 22:20 Unfortunately it's out of reach, but XYplorer and Everything are Yin and Yang.
What do you mean by out of reach? Of course, I could emulate that script within the XY code. I already support External Copy Handlers. :)

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

Re: Integration of Everything [voidtools]

Post by Horst »

I guess he means Everything integration into the search functions of XY
using the SDK like Total Commander does.
The Everything script replaces most searches with XY native search for me.
The SDK is easy to implement and it would be nice to have it in some future XY major update.
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 »

Don doesn't like to add external dependencies (e.g. shipping .dlls)...

Otherwise we could have e.g. support for a better regex engine since... years :ninja:

And even if he did implement Everything via the .dll and the SDK (which really isn't that difficult, did this myself for testing purposes),
Everything is required to run in the background AND
he would need to implement all those nifty search capabilities in the main XY UI.

Don't think that this will happen
One of my scripts helped you out? Please donate via Paypal

Post Reply