1.    09 Feb 2017 #1
    Join Date : Jul 2015
    Posts : 18
    Windows 7

    Can a universal app be started via keyboard shortcut or command line


    The thread title pretty much says it all. Can a universal app (currently interested in Weather) be started via keyboard shortcut or command line command?
      My ComputerSystem Spec
  2.    09 Feb 2017 #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,069
    Win 10 Pro (1703)

    You could do this:
    Click image for larger version. 

Name:	Snap 2017-02-09 at 20.58.22.jpg 
Views:	19 
Size:	65.9 KB 
ID:	120516
    - drag a shortcut off the start menu and assign a keyboard shortcut.

    Command line: see
    How to start Microsoft Photos from command line?
    for an example

    Go here in file explorer
    %appdata%\..\local\Packages
    and you will see a list of others, including Weather
    Last edited by dalchina; 09 Feb 2017 at 16:45.
      My ComputerSystem Spec
  3.    09 Feb 2017 #3
    Join Date : Jul 2015
    Posts : 18
    Windows 7
    Thread Starter

    Very useful information. Thank you very much.
      My ComputerSystem Spec
  4.    09 Feb 2017 #4
    Join Date : Jul 2015
    Posts : 18
    Windows 7
    Thread Starter

    Quote Originally Posted by Bob Coleman View Post
    Very useful information. Thank you very much.
    I note though that the dragged shortcut seems to work only if on the desktop.
      My ComputerSystem Spec
  5.    10 Feb 2017 #5
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,069
    Win 10 Pro (1703)

    Given you know the command, you should be able to put that in a script and use Autohotkey to assign a shortcut, for example..
    There's probably a simpler way...
      My ComputerSystem Spec
  6.    10 Feb 2017 #6
    Join Date : Jul 2015
    Posts : 18
    Windows 7
    Thread Starter

    Quote Originally Posted by dalchina View Post
    Given you know the command, you should be able to put that in a script and use Autohotkey to assign a shortcut, for example..
    There's probably a simpler way...
    Yes, thanks again. I'm using AutoIt rather than Autohotkey, but somewhat the same idea.
      My ComputerSystem Spec
  7.    10 Feb 2017 #7
    Join Date : Jul 2015
    Posts : 18
    Windows 7
    Thread Starter

    Quote Originally Posted by dalchina View Post
    You could do this:
    Click image for larger version. 

Name:	Snap 2017-02-09 at 20.58.22.jpg 
Views:	19 
Size:	65.9 KB 
ID:	120516
    - drag a shortcut off the start menu and assign a keyboard shortcut.

    Command line: see
    How to start Microsoft Photos from command line?
    for an example

    Go here in file explorer
    %appdata%\..\local\Packages
    and you will see a list of others, including Weather
    For whatever value it might possibly be to anybody in the future, the above relative to command line boils down to create a command such as

    explorer.exe shell:appsFolder\Microsoft.Windows.Photos_8wekyb3d8bbwe!App


    for Photos or

    explorer.exe shell:appsFolder\Microsoft.BingWeather_8wekyb3d8bbwe!App

    for Weather where the green part is obtained from

    %appdata%\..\local\Packages

    The new information here is that for Microsoft Edge, the part after the exclamation point has to be MicrosoftEdge rather than App.

    I eventually figured this out by examining the dragged shortcuts.
      My ComputerSystem Spec
  8.    11 Feb 2017 #8
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,069
    Win 10 Pro (1703)

    Great-that's a useful understanding. Note there are no parameters for these, of course.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
How to connect/disconnect to a VPN using the command line?
Hi all I have several network connections configured. There is one wifi connection which automatically connects to my WLAN, another cable based LAN connection to a NAS which is used for backups and some L2TP connection connections (used...
Network and Sharing
Solved Win 10 home 64 bit command line Sleep command
If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule. If I use any of the followingcommand lines, the software cannot wake my computer, I have ran “powercfg/h /off” at C:\windows\system32...
General Support
Can I turn off the UAC beep from the command line?
I am NOT asking about turning on/off UAC, just the beep. This can be manually configured through the UI 117380 I'd like to do this via a script using a command line change. Seems like this MIGHT involve "control mmsys.cpl sounds" in some way...
General Support
Solved Can't add user via command line
I am trying to add a user via the command line through a virtual pc I added with VMWare. I'm running windows 10, and unable to add because this is what I get when I open CMD: I can't go beyond this point, I keep getting error messages. Any help...
User Accounts and Family Safety
Can restore of Win 7 be started from command line ?
For some unknown reason I cannot any more navigate to Update panel from "Einstellungen" - it is blocked. I have to cancel the "Einstellungen" window by the task manager ! So in this moment I cant go forward nor backward any more: cant...
Installation and Upgrade
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:53.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums