Search code examples
cmdautohotkeyonenote

Launch Onenote UWP using Autohotkey


I'm trying to launch onenote UWP from autohotkey but cannot pin down the specific exe file to launch. I ran the onenote uwp and found the name as Microsoft.Office.OneNote_17.7466.57691.0_x64__8wekyb3d8bbwe and the location is C:\Program Files\WindowsApps\Microsoft.Office.OneNote_17.7466.57691.0_x64__8wekyb3d8bbwe. But using the following code, I opened the onenote 2016

#o::

run "C:\Program Files\WindowsApps\Microsoft.Office.OneNote_17.7466.57691.0_x64__8wekyb3d8bbwe"

return

Can anyone help me with this?

Thanks a lot!

Jason


Solution

  • Try this (untested):

    Run, onenote:
    

    http://winsupersite.com/windows-10/how-open-windows-10-apps-using-shell-commands

    EDIT:

    You can also create a shortcut of this app to run it this way from your script:

    #o:: Run, %A_Desktop%\OneNote.lnk
    

    http://www.laptopmag.com/articles/create-keyboard-shortcuts-windows-10