I recently starting to play around with AutoHotkey to map some of my everyday programs to new shortkeys. I came unstuck however when I wanted to map Trello, a Windows 10 Store App, as I could not find the executable path to add to the script.

After some searching online I found the somewhat convoluted process needed. Here are the instructions needed to find the executable path for a Windows 10 Store App.

Instructions

Run the following command to open the AppsFolder. This can be done in either the Run terminal or directly in Explorer

shell:AppsFolder

Find your app and create a shortcut on your desktop.

Right-click the newly created shortcut and select the Properties tab. Take a note of the Target Type as we'll need this later.

f23c7c7d

Now open PowerShell and run the following

get-appxpackage > 123.txt

This will create a new file named 123.txt at the same path as your PowerShell. Most likely this will have been the default location and can be accessed by navigating to %UserProfile% in Explorer.

Open the 123.txt file and use Ctrl + F to find the PackageFamilyName for the TargetType we took note of earlier.

Copy the InstallLocation and browse to this in Explorer.

1b8d7e63

93ac0ac0

Open the AppManifest.xml and find and take note of the Id in <Application>

f0d8960e

Using this Id value we can build up the executable path, replacing <PackageFamilyName> and <Id> with the values we've taken note of above.

explorer.exe shell:appsFolder\<PackageFamilyName>!<Id>

So in our Trello example, the executable path is

explorer.exe shell:appsFolder\45273LiamForsyth.PawsforTrello_7pb5ddty8z1pa!trello

To confirm the path is correct, open the Run command (Win + R) and enter the path. Hitting Enter should open the application.