How to judge the Everything Client to complete initialization?

Plug-in and third party software discussion.
Post Reply
qianw
Posts: 20
Joined: Fri Aug 09, 2019 2:29 am

How to judge the Everything Client to complete initialization?

Post by qianw »

Is there a way to judge by sdk?
Everything_IsDbLoaded or other function?
void
Developer
Posts: 16770
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to judge the Everything Client to complete initialization?

Post by void »

Please try the Everything IPC EVERYTHING_IPC_IS_DB_LOADED call.

Code: Select all

HWND everything_hwnd = FindWindow(EVERYTHING_IPC_WNDCLASS,0);
int is_db_loaded = (int)SendMessage(everything_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_DB_LOADED,0); 
qianw
Posts: 20
Joined: Fri Aug 09, 2019 2:29 am

Re: How to judge the Everything Client to complete initialization?

Post by qianw »

void wrote: Wed Sep 04, 2019 8:19 am Please try the Everything IPC EVERYTHING_IPC_IS_DB_LOADED call.

Code: Select all

HWND everything_hwnd = FindWindow(EVERYTHING_IPC_WNDCLASS,0);
int is_db_loaded = (int)SendMessage(everything_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_DB_LOADED,0); 
Thanks,
Everything_IsDBLoaded() is like this.
qianw
Posts: 20
Joined: Fri Aug 09, 2019 2:29 am

Re: How to judge the Everything Client to complete initialization?

Post by qianw »

void wrote: Wed Sep 04, 2019 8:19 am Please try the Everything IPC EVERYTHING_IPC_IS_DB_LOADED call.

Code: Select all

HWND everything_hwnd = FindWindow(EVERYTHING_IPC_WNDCLASS,0);
int is_db_loaded = (int)SendMessage(everything_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_DB_LOADED,0); 
I use follow command line to run Everything Client,

Code: Select all

Everything.exe -startup
the Everything Client cound run in the background. Can I modify the Everything.ini instead of using "-startup".
void
Developer
Posts: 16770
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to judge the Everything Client to complete initialization?

Post by void »

No, you will need to use the -startup command line option to start Everything in the background.
Post Reply