How to address Everything named instance via IPC?

Plug-in and third party software discussion.
Post Reply
EricB
Posts: 53
Joined: Wed Jun 26, 2013 8:56 am

How to address Everything named instance via IPC?

Post by EricB »

Hi Void,

I'm using Everything 1.4.0.713b as a named instance, which is currently not working correctly with Total Commander. If I test without named instance, the connection is working. What is the best way to address a named instance via IPC?

Comment from TC Author in forum:
I have checked this now - TC doesn't look for Everything window. It checks this:
FindWindow('EVERYTHING_TASKBAR_NOTIFICATION',nil)

This is the window to which the SDK sends commands via WM_COPYDATA and other WM_USER commands. It seems to be named differently when using named instances. I tried without this check, and the Everything SDK was hanging. So apparently the SDK does not handle named instances.
Could you explain the best way to solve this?

Regards, EricB
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to address Everything named instance via IPC?

Post by void »

Replace ''EVERYTHING_TASKBAR_NOTIFICATION' in FindWindow with:

'EVERYTHING_TASKBAR_NOTIFICATION_(<instance name>)'

Where <instance name> is the instance name. For example if the instance name is: FOO BAR

FindWindow('EVERYTHING_TASKBAR_NOTIFICATION_(FOO BAR)',nil)

The SDK does not handle named instances yet. Hope to update the SDK once Everything 1.4 is stable.
EricB
Posts: 53
Joined: Wed Jun 26, 2013 8:56 am

Re: How to address Everything named instance via IPC?

Post by EricB »

Hi Void,

Thanx for the quick response. Looking forward to the stable 1.4 version!

Regards, EricB
Post Reply