-export-filelist command line switch

Have a suggestion for "Everything"? Please post it here.
Post Reply
nspp
Posts: 10
Joined: Tue Oct 27, 2020 8:57 am

-export-filelist command line switch

Post by nspp »

HI,

I was trying to export current file list from the command line but i did not found any way to get the current result being exported from command line.
I do it with export and efu selection but i would like a command line switch to get the current result exported from current UI instance.

B.R.
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: -export-filelist command line switch

Post by void »

Please try the Command Line Interface: ES
ES talks to the main Everything UI.

ES.exe "my search" -export-efu out.efu



ES
ES Help
-export-efu <output-filename.efu>
nspp
Posts: 10
Joined: Tue Oct 27, 2020 8:57 am

Re: -export-filelist command line switch

Post by nspp »

I already use "es" to do one shot "search" and exports. The issue is to get current result from the UI and not do any search anymore.

When i use the UI do do a more dynamic search and i would like to call from outside (command line) or inside with plugin sdk to export current result.
I do not want to open export menu, navigate to a folder and then save my file.

I can do it/automate with AHK, powerpro, auto-it but most scripting language will be banned (company policy).
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: -export-filelist command line switch

Post by void »

nspp
Posts: 10
Joined: Tue Oct 27, 2020 8:57 am

Re: -export-filelist command line switch

Post by nspp »

This is why this is a suggestion.

using :curent_ui_result: from EV or TC would be great or at least something you can expose via API in plugin SDK (some progress ?)

Reading UI element is something i would like to avoid, it is to me very ugly solution !
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: -export-filelist command line switch

Post by void »

Thank you for the suggestion nspp,

I will take your suggestion into consideration.

-current_ui_result from ES is a good idea.
Manipulating results or getting the current UI results from the SDK is on my TODO list.
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: -export-filelist command line switch

Post by horst.epp »

nspp wrote: Wed Oct 13, 2021 9:22 am I already use "es" to do one shot "search" and exports. The issue is to get current result from the UI and not do any search anymore.

When i use the UI do do a more dynamic search and i would like to call from outside (command line) or inside with plugin sdk to export current result.
I do not want to open export menu, navigate to a folder and then save my file.

I can do it/automate with AHK, powerpro, auto-it but most scripting language will be banned (company policy).
In Total Commander forum we made a AHK script which stores the GUI result into a file.
You can strip down it for your purpose and compile it.
https://www.ghisler.ch/board/viewtopic.php?t=75439
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: -export-filelist command line switch

Post by therube »

I'll just note, Nirsoft's SysExporter - Export data from Windows controls.
You can do something like (via command-line, output to comma delimited file):

Code: Select all

sysexp.exe  /class SysListView32  /scomma  out_list.csv
Various options & depending on data size could take some time to output...
Post Reply