microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.35k stars 6.55k forks source link

[PowerToys Run] Support windows app synonyms #15318

Open xmha97 opened 2 years ago

xmha97 commented 2 years ago

Description of the new feature / enhancement

I found a text file containing app synonyms, and in there lies some explanation as to why and how the search feature in Windows 10 lists search results as it does when searching for applications, apps, and settings.

It lists all common misspellings of some common applications. For instance, did you know that you can do a search for “exell” and it will display “Excel 2016” in the search results? You can also type “npo” to find “Notepad“, or type “c prompt” that will list “command prompt”, or “exx” that will find “Internet Explorer” or if you search for “ie” and it will list “Edge”.

The file where all these synonyms are gathered is named appssynonyms.txt and is located in

%LocalAppData%\Packages\Microsoft.Windows.Search_cw5n1h2txyewy\LocalState\ConstraintIndex\Input_{7c5356ce-e01e-44c3-8f22-0ba9ef94aa3a}\

I want this feature for PowerToys Run.

Scenario when this would be used?

Play Store -> Microsoft Store image image

Supporting information

No response

crutkas commented 2 years ago

issue is that package may not exist, example, my computer.

xmha97 commented 2 years ago

issue is that package may not exist, example, my computer.

Because you are using Windows 11, find the file in the path below:

%LocalAppData%\Packages\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\LocalState\ConstraintIndex\Input_{cf490f3a-1e4e-4b69-bd2b-2beb63426a84}\

image (Windows 10 appssynonyms.txt screenshot)

crutkas commented 2 years ago

Part of me is afraid of how breaky this may be. My GUID is different than your guid, that could be due to Windows builds also.

This could be interesting. Would you want to take a shot here? This seems powerful.

rfdonnelly commented 2 years ago

FWIW my path (Windows 10) was %LocalAppData%\Packages\Microsoft.Windows.Search_cw5n1h2txyewy\LocalState\ConstraintIndex\Input_{b6c3a13f-3878-42b1-a019-aece40996f7b}\appssynonyms.txt

crutkas commented 2 years ago

once you look at %LocalAppData%\Packages\Microsoft.Windows.Search_cw5n1h2txyewy\LocalState\ConstraintIndex, think tracking down what to look at becomes easy i think