It is currently September 19th, 2021, 10:48 pm

Launching Windows 10 "apps"

Tips and Tricks from the Rainmeter Community
User avatar
jsmorley
Developer
Posts: 22284
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Launching Windows 10 "apps"

Post by jsmorley »

Open the folder:
C:\Users\YourName\AppData\Local\Microsoft\Windows\Application Shortcuts

Find the application you want, and copy that "folder" name.
Inside the folder, copy the name of the "shortcut" (usually "App" with applications included with Windows)

Put the two on a shell command of:
Shell:AppsFolder\FolderName!ShortCutName

So for Bing Weather:
The folder name is "Microsoft.BingWeather_8wekyb3d8bbwe"
the shortcut name inside the folder is "App"

Shell:AppsFolder\Microsoft.BingWeather_8wekyb3d8bbwe!App

LeftMouseUpAction=["Shell:AppsFolder\Microsoft.BingWeather_8wekyb3d8bbwe!App"]

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[MeterOne]
Meter=String
FontSize=13
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=Bing Weather
LeftMouseUpAction=["Shell:AppsFolder\Microsoft.BingWeather_8wekyb3d8bbwe!App"]
1.jpg
2.jpg
You do not have the required permissions to view the files attached to this post.
Nighthunter226
Posts: 3
Joined: December 20th, 2016, 11:06 pm

Re: Launching Windows 10 "apps"

Post by Nighthunter226 »

Hey guys,

I've followed this to the letter but my 'Application Shortcuts' folder is empty.
I've enabled the 'show hidden folders' option and that hasn't made a change. Google can't seem to understand my query so i'm posting here in hopes of a quick answer

Thanks
User avatar
jsmorley
Developer
Posts: 22284
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Launching Windows 10 "apps"

Post by jsmorley »

Not sure. Mine is too. Apparently something has changed in how Win10 does things in newer versions.
User avatar
jsmorley
Developer
Posts: 22284
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Launching Windows 10 "apps"

Post by jsmorley »

Try:

C:\Users\YourName\AppData\Local\Packages
Nighthunter226
Posts: 3
Joined: December 20th, 2016, 11:06 pm

Re: Launching Windows 10 "apps"

Post by Nighthunter226 »

jsmorley wrote:Try:

C:\Users\YourName\AppData\Local\Packages

Found the folders in the folder but can't find any app shortcuts. Just spent the better half of an hour looking so if you've got any hints I'd appreciate that greatly
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4389
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Launching Windows 10 "apps"

Post by eclectic-tech »

Nighthunter226 wrote:Found the folders in the folder but can't find any app shortcuts. Just spent the better half of an hour looking so if you've got any hints I'd appreciate that greatly
My folder is empty too, but the Powershell script by jsmorley (now generates errors, but seems to still find installed apps).

I modified the last command of that script to: 
$aumidList>>c:\AppList.txt

This saves the list to a file at "C:\AppList.txt". You can open that file to see the ID needed in your 'shell:AppsFolder\...' to launch the Windows 10 App. 
Admin Command Window with Powershell activated and script pasted:
Script.png
Script Results & AppList.txt:
runList.png
Better programmers than myself may be able to provide an 'error free' solution...
You do not have the required permissions to view the files attached to this post.
Nighthunter226
Posts: 3
Joined: December 20th, 2016, 11:06 pm

Re: Launching Windows 10 "apps"

Post by Nighthunter226 »

eclectic-tech wrote:My folder is empty too, but the Powershell script by jsmorley (now generates errors, but seems to still find installed apps).

I modified the last command of that script to: 
$aumidList>>c:\AppList.txt

This saves the list to a file at "C:\AppList.txt". You can open that file to see the ID needed in your 'shell:AppsFolder\...' to launch the Windows 10 App. 
Admin Command Window with Powershell activated and script pasted:Script.png
Script Results & AppList.txt:runList.pngBetter programmers than myself may be able to provide an 'error free' solution...
Much obliged my friend.
So now all I need to do is work out how to make Rainemeter open the app on LeftMouseUpAction
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4389
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Launching Windows 10 "apps"

Post by eclectic-tech »

Nighthunter226 wrote:Much obliged my friend.
So now all I need to do is work out how to make Rainemeter open the app on LeftMouseUpAction
You can use the method in the first post for most window apps. Find the info in the 'C:\AppList.txt' file the script creates and use it as described:
jsmorley wrote:Find the application you want, and copy that "folder" name.
Inside the folder, copy the name of the "shortcut" (usually "App" with applications included with Windows)

Put the two on a shell command of:
Shell:AppsFolder\FolderName!ShortCutName

So for Bing Weather:
The folder name is "Microsoft.BingWeather_8wekyb3d8bbwe"
the shortcut name inside the folder is "App"

Shell:AppsFolder\Microsoft.BingWeather_8wekyb3d8bbwe!App

LeftMouseUpAction=["Shell:AppsFolder\Microsoft.BingWeather_8wekyb3d8bbwe!App"]
That is all that should be needed to launch Windows 10 Apps.
S019
Posts: 1
Joined: January 11th, 2017, 7:21 am

Re: Launching Windows 10 "apps"

Post by S019 »

Found an alternative method.

Find the app you want in the start menu (cortona's search doesn't seem to work for me) and drag and drop it onto your desktop or other folder. This will create a .lnk shortcut to the app. Just link to this shortcut to launch the app.

Ex:

Code: Select all

LeftMouseUpAction=["C:\Users\User\Desktop\VLC for Windows Store.lnk"]
dorianstone
Posts: 8
Joined: October 19th, 2013, 7:39 pm

Re: Launching Windows 10 "apps"

Post by dorianstone »

S019 wrote: January 11th, 2017, 7:26 am Found an alternative method.

Find the app you want in the start menu (cortona's search doesn't seem to work for me) and drag and drop it onto your desktop or other folder. This will create a .lnk shortcut to the app. Just link to this shortcut to launch the app.

Ex:

Code: Select all

LeftMouseUpAction=["C:\Users\User\Desktop\VLC for Windows Store.lnk"]

Thank you!!! This worked like a charm. A simple spell, but quite unbreakeable.