Search found 11 matches

by Tank Ersley
Sun Dec 10, 2023 3:58 am
Forum: Development, plugins and third party software
Topic: Everything.py: Getting highlighted filenames
Replies: 7
Views: 4999

Re: Everything.py: Getting highlighted filenames

I'm such a dummy! The Everything SDK provides a DLL and Lib interface to Everything over IPC . The Everything IPC allows applications to query and get search results from the "Everything" database . It says so right there. So, the SDK interacts with the database, not the interface. I was h...
by Tank Ersley
Fri Dec 08, 2023 4:03 pm
Forum: Development, plugins and third party software
Topic: Everything.py: Getting highlighted filenames
Replies: 7
Views: 4999

Re: Everything.py: Getting highlighted filenames

I think I'm headed down the wrong path. Everything_GetNumResults still indicates that all indexed files are being returned. Is there a way to get information on the files that are selected in the Everything GUI? If not, is there a way to display the "visible results" that the SDK keeps ref...
by Tank Ersley
Thu Dec 07, 2023 5:34 pm
Forum: Development, plugins and third party software
Topic: Everything.py: Getting highlighted filenames
Replies: 7
Views: 4999

Re: Everything.py: Getting highlighted filenames

I switched to the Everything SDK to see if I can get to work for me. import ctypes #defines EVERYTHING_REQUEST_FILE_NAME = 0x00000001 EVERYTHING_REQUEST_PATH = 0x00000002 EVERYTHING_REQUEST_FULL_PATH_AND_FILE_NAME = 0x00000004 EVERYTHING_REQUEST_EXTENSION = 0x00000008 EVERYTHING_REQUEST_SIZE = 0x000...
by Tank Ersley
Thu Dec 07, 2023 4:27 am
Forum: Development, plugins and third party software
Topic: Everything.py: Getting highlighted filenames
Replies: 7
Views: 4999

Everything.py: Getting highlighted filenames

I want to get a list of the files that are highlighted in Everything. I have been working on various versions of this script. Either it hangs or it returns every file that Everything has listed (regardless of highlight). Any advice on getting this to work would be greatly appreciated. from Everythin...
by Tank Ersley
Wed Nov 22, 2023 11:24 am
Forum: Development, plugins and third party software
Topic: Using the Python 3 Everything SDK wrapper
Replies: 5
Views: 3334

Re: Using the Python 3 Everything SDK wrapper

I did the following. Changes to Everything.py: Modified the SortOrder class per your suggestion. Changed this line in the Query class sortOrder: SortOrder = SortOrder.Filename to this. sortOrder: SortOrder = SortOrder.FilenameAscending (I believe this sets the default sort order.) Changes to my code...
by Tank Ersley
Wed Nov 22, 2023 5:00 am
Forum: Development, plugins and third party software
Topic: Using the Python 3 Everything SDK wrapper
Replies: 5
Views: 3334

Re: Using the Python 3 Everything SDK wrapper

I used ChatGPT to help get this to work. Yes, this a total kludge, so I hope someone can suggest a native means of doing this. from lib.c_defines import SortType . . . q = Everything.Query(queryString=search_statement, maxResults=max_num_results, sortOrder=SortType.EVERYTHING_SORT_DATE_CREATED_DESCE...
by Tank Ersley
Tue Nov 21, 2023 5:35 pm
Forum: Development, plugins and third party software
Topic: Using the Python 3 Everything SDK wrapper
Replies: 5
Views: 3334

Re: Using the Python 3 Everything SDK wrapper

This is my query statement. Everything.Query(queryString=search_statement, maxResults=max_num_results) How do I add a sort to the query? I've tried these and none of them work. sortOrder=SortOrder.AccessDate sortOrder="SortOrder.AccessDate" sortOrder=AccessDate sortOrder="AccessDate&q...
by Tank Ersley
Sun Nov 19, 2023 5:01 pm
Forum: Development, plugins and third party software
Topic: Using the Python 3 Everything SDK wrapper
Replies: 5
Views: 3334

Using the Python 3 Everything SDK wrapper

Hi. I've recently gone back to working with Python and ran across Everything.py. I've managed to make a script that takes a comma-separated string, turns it into a regex string and searches Everything. Is there a way to use Search filters in Everything.py? Either ones that I've added in Everything o...
by Tank Ersley
Mon Aug 07, 2023 3:28 pm
Forum: Development, plugins and third party software
Topic: Use of Everything from Excel VBA
Replies: 24
Views: 32687

Re: Use of Everything from Excel VBA

Hi. I am trying to modify the information here to work with a RegEx search. I've done the following so far. Added this public function declaration. Public Declare PtrSafe Function Everything_SetRegex Lib "C:\SDK\dll\Everything32.dll" (void) As Integer Added this statement to the sub. 'Refe...
by Tank Ersley
Sun Aug 06, 2023 2:42 am
Forum: Development, plugins and third party software
Topic: Returning results from Shell function using Excel VBA
Replies: 2
Views: 5303

Re: Returning results from Shell function using Excel VBA

I looked at that thread. It involves using the SDK.

I was trying to see if the results from the Shell function could be used instead.

I presume from your response that it cannot.

Thanks for the response.
by Tank Ersley
Sat Aug 05, 2023 6:10 pm
Forum: Development, plugins and third party software
Topic: Returning results from Shell function using Excel VBA
Replies: 2
Views: 5303

Returning results from Shell function using Excel VBA

Hi. I have this code to get a list of results based on a RegEx search of Everything. Dim searchRegex As String searchRegex = Activesheet.Range("A:A").Find("Everything RegEx").Offset(0, 1) Shell "C:\Program Files\Everything\Everything.exe -s """ & searchReg...