and then get File Location if there is an item named "Open file location" in right-menu .
In my current script, I can only get the name and path (APPUserModelId) of an app.
I don’t know how to get the File Location ("Open file location"). Do you know how to get the File Location ??
Applications is a virtual folder, similar to This PC, Control Panel, Network, etc.,
it can be viewed by clicking in the Address Bar of Explorer & typing shell:AppsFolder
Code: Select all
oFolder := ComObjCreate("Shell.Application").NameSpace("shell:Appsfolder")
for item in oFolder.Items
{
a1 .= item.name " - " item.path "`n"
}
oFolder =
MsgBox % a1
esc::ExitApp