Everything only detected when running
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
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.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Possibly the SDK is not up to date yet. Horst.Epp posted a request on the Everything forum regarding this:
http://www.voidtools.com/forum/viewtopic.php?f=2&t=5562&sid=e0479e77868118b0a875110d805827e1
I'll post a question on the Everything forum to see if the developer knows a solution for this specific problem.
Regards, EricB
http://www.voidtools.com/forum/viewtopic.php?f=2&t=5562&sid=e0479e77868118b0a875110d805827e1
I'll post a question on the Everything forum to see if the developer knows a solution for this specific problem.
Regards, EricB
Christian,
I got a fast response from Everything's developer, see:
http://www.voidtools.com/forum/viewtopic.php?f=10&t=5575&p=15074#p15074
It seems that FindWindow call can easily be adapted for instance name, but you'll have to know the instance name variable. The call differs indeed from unnamed instance version.
The SDK itself is not yet updated for version 1.4 so it does not handle named instances.
Regards, EricB
I got a fast response from Everything's developer, see:
http://www.voidtools.com/forum/viewtopic.php?f=10&t=5575&p=15074#p15074
It seems that FindWindow call can easily be adapted for instance name, but you'll have to know the instance name variable. The call differs indeed from unnamed instance version.
The SDK itself is not yet updated for version 1.4 so it does not handle named instances.
Regards, EricB
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That's what I see too! I will postpone this feature then.The SDK itself is not yet updated for version 1.4 so it does not handle named instances.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Christian,
The Everything SDK has been updated for the IPC header. Also the author published a CLI search tool (including source) that uses IPC to connect to Everything, and supports named instances. The source code clearly shows how to insert the instance name in the WindowClass that is used for FindWindow function.
See topic: http://forum.voidtools.com/viewtopic.php?f=2&t=5762
I hope this is sufficient information?
Regards, EricB
The Everything SDK has been updated for the IPC header. Also the author published a CLI search tool (including source) that uses IPC to connect to Everything, and supports named instances. The source code clearly shows how to insert the instance name in the WindowClass that is used for FindWindow function.
See topic: http://forum.voidtools.com/viewtopic.php?f=2&t=5762
I hope this is sufficient information?
Regards, EricB
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Christian,
I've seen this:
I use these settings, including envvars for portability:
Everything=%COMMANDER_TOOLS%\Taskbar\Everything\Everything.exe -admin -config %COMMANDER_TOOLS%\Taskbar\Everything\%COMPUTERNAME%.ini -instance %COMPUTERNAME% -db %COMMANDER_DRIVE%\Projects\Everything\%COMPUTERNAME%.db -startup
UseEverythingInstance=%COMPUTERNAME%
Regards, EricB
I've seen this:
but for me it seems not to work. I've added the key to configuration and started the named instance of Everything. It is not detected in the Find files dialog. When I click the checkbox for Everything in the dialog, a second named instance is started (according to my Everything= setting in configuration), but also that instance is not detected. This is followed by the download Everything dialog.27/11/2016 Added: Everything: Support named instances (Everything.exe -instance "somename"): wincmd.ini [Configuration] UseEverythingInstance=somename (32/64)
I use these settings, including envvars for portability:
Everything=%COMMANDER_TOOLS%\Taskbar\Everything\Everything.exe -admin -config %COMMANDER_TOOLS%\Taskbar\Everything\%COMPUTERNAME%.ini -instance %COMPUTERNAME% -db %COMMANDER_DRIVE%\Projects\Everything\%COMPUTERNAME%.db -startup
UseEverythingInstance=%COMPUTERNAME%
Regards, EricB
Last edited by EricB on 2016-12-01, 18:33 UTC, edited 1 time in total.
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Total Commander does not resolve environment variables in the UseEverythingInstance key.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48124
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Awesome!
Christian, thanks again for implementing this!
Regards, EricB
Works like a charm, instances now fully supported, either when Everything already running or when it has to be started from configuration.02.12.16 Added: wincmd.ini, UseEverythingInstance option now supports environment variables (32/64)
Christian, thanks again for implementing this!
Regards, EricB