I've got a problem. Why can't I get the real path of "uwp app"?
Code: Select all
#Requires AutoHotkey v2.0
#y::
{
MouseGetPos( , , &ID_)
MsgBox(WinGetProcessPath("ahk_id " ID_))
}
For example, for the following uwp applications, I think I should get these paths:
- Win11 Settings:
C:\Windows\ImmersiveControlPanel\SystemSettings.exe
- Defender:
C:\Program Files\WindowsApps\Microsoft.SecHealthUI_1000.22621.1.0_x64__8wekyb3d8bbwe\SecHealthUI.exe
- Microsoft Store:
C:\Program Files\WindowsApps\Microsoft.WindowsStore_22210.1401.16.0_x64__8wekyb3d8bbwe\WinStore.App.exe
- Email:
C:\Program Files\WindowsApps\microsoft.windowscommunicationsapps_16005.14326.21256.0_x64__8wekyb3d8bbwe\HxOutlook.exe
- Calculator:
C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_11.2210.0.0_x64__8wekyb3d8bbwe\CalculatorApp.exe
But in fact, all I get is: C:\Windows\System32\ApplicationFrameHost.exe
Can someone help me with that?