dkgv / pinpoint

Keystroke launcher and personal command central. Alternative to Spotlight and Alfred for Windows. Alternative to Wox, PowerToys.
https://usepinpoint.com
GNU General Public License v3.0
154 stars 17 forks source link

HowTo file search via Everything? #174

Open andekande opened 1 year ago

andekande commented 1 year ago

I am with latest standalone version and still can't figure out how to get search results from Everything plugin. Any prefix needed? Just typing pinpoint for example doesn't bring up results. I'd expect it finds the pinpoint.exe

If you need logs, I'm happy to provide them, if I'd know where those are...

andekande commented 1 year ago

In addition: application search like Excel also does not bring up anything, even though there is a link on my Desktop and in Startmenu.

dkgv commented 1 year ago

Sounds strange, do you not have Everything running in the background?

The app search plugin is not dependent on Everything and should work out of the box. Could you check what the file extension of the Excel shortcut on your desktop is? It currently indexes "*.appref-ms", "*.lnk", "*.exe" in the following locations: https://github.com/dkgv/pinpoint/blob/master/Pinpoint.Plugin.AppSearch/StandardAppProvider.cs#L8-L12

andekande commented 1 year ago

The desktop has classic .lnk Links.

I have a uncommon setup though: %USERPROFILE% -> C:\Users\\ %PUBLIC% -> C:\Users\Public %APPDATA% -> C:\Users\\\AppData\Roaming

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders: Desktop -> E:\Profiles\Windows\\\Desktop Personal -> E:\Profile\Windows\\\Documents My Music -> E:\Profile\Windows\\\Music My Pictures -> E:\Profile\Windows\\\Pictures My Videos -> E:\Profile\Windows\\\Videos Programs -> %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs

Those can be retrieved via SHGetKnownFolderPath API: https://ss64.com/ps/syntax-knownfolders.html

So while its clear why Desktop Items are not found, its still unclear why Start Menu Items aren't either. I have C:\Users\\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Chromium.lnk pointing to E:\Internet\ChromeUngoogled\Chrome.exe - but it isn't found.

andekande commented 1 year ago

do you not have Everything running in the background?

Erm, just uderstood now what you tried to explain me. No I didn't download Everything. However, I did today - portable - and had it installed as System-Service. As long as Everything is in the Tray, Pinpoint shows Search results. If Everything is shutdown, Pinpoint shows the most recent (outdated) Everything Search result, no matter which term I input. (bug) So I may not assume, having it installed as Service lets Pinpoint communicate with it, even though its UI is not loaded...

andekande commented 1 year ago

@dkgv looks the implementation should find the deviating locations. However even with 0.3.4 I'm not getting AppSearch results. AppSearchPlugin is not in the Plugin List either, but I guess thats by intention. I have downloaded the standalone package by the way.

andekande commented 1 year ago

@dkgv I'm not getting AppSearch results with 0.3.6 either. Can I provide logs somehow?