Open Onenote Desktop with pen

Discussion in 'Windows 10 on Surface Pro 3' started by Kris, Aug 8, 2015.

  1. Kris

    Kris Active Member

    Joined:
    Aug 21, 2014
    Messages:
    644
    Likes Received:
    81
    Trophy Points:
    28
    My Device:
    SPro3
    First you need to download AutoHotKey and install
    Then open notepad
    Copy red text below
    #F20::
    IfWinNotExist, OneNote
    {
    Run,C:\Program Files\Microsoft Office\root\Office16\onenote.exe
    return
    }
    IfWinExist, OneNote
    {
    WinActivate
    return
    }

    paste into notepad
    Save file as pen.ahk and save it to"
    C:\Users\Your user name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"

    This will open AutoHotKey when you boot and run the script.
    This is not a perfect method but for now it is a work around.

    Edit: for Office 365 2013 use
    #F20::
    IfWinNotExist, OneNote
    {
    Run, C:\Program Files\Microsoft Office 15\root\office15\onenote.exe
    return
    }
    IfWinExist, OneNote
    {
    WinActivate
    return
    }
     
    Last edited: Aug 8, 2015
  2. lords20

    lords20 New Member

    Joined:
    Feb 10, 2014
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    It did not work for me at first. So I compiled the file I made and the desktop version opens up.

    Thanks
     
  3. samurai

    samurai Member

    Joined:
    Jan 21, 2014
    Messages:
    54
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Germany
    My Device:
    SPro3
    May be you are not aware of the 'surface' app available in the store with which you can do this without any hassle. or am I missing something here.
     
  4. majorgearhead

    majorgearhead Member

    Joined:
    Apr 12, 2015
    Messages:
    53
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    West By God Virginia
    My Device:
    SPro3
    On windows 10 the Surface app does not work. The settings do not take. This is something that is seriously broken in W10.
     
    mfgillia and Kris like this.
  5. Kris

    Kris Active Member

    Joined:
    Aug 21, 2014
    Messages:
    644
    Likes Received:
    81
    Trophy Points:
    28
    My Device:
    SPro3
    This has been a huge issue with Windows 10 for a long time, as stated earlier the surface app doesn't work with Windows 10.
    This is not a perfect fix either. From time to time it still brings up the MUI app, but for the most part it works.
     
  6. samurai

    samurai Member

    Joined:
    Jan 21, 2014
    Messages:
    54
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Germany
    My Device:
    SPro3
    Thanks for the clarification. I guess this comes under one of the many things that are broken in Win10.
     
  7. DiverAllen

    DiverAllen New Member

    Joined:
    Jul 1, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Thanks. The script (2nd one) works for me much of the time. However, I wish MSFT would fix this. While my single click on the top button now opens the desktop version (which I want) - a double click opens the screen capture for the 'app' version or 'not desktop version.

    Allen
     
  8. Kris

    Kris Active Member

    Joined:
    Aug 21, 2014
    Messages:
    644
    Likes Received:
    81
    Trophy Points:
    28
    My Device:
    SPro3
    I am trying to find a script that will open the desktop app on a double click.
     
  9. Kris

    Kris Active Member

    Joined:
    Aug 21, 2014
    Messages:
    644
    Likes Received:
    81
    Trophy Points:
    28
    My Device:
    SPro3
    I am having no luck finding out the command that F19, pen double click, gives. Easy enough to make it open other apps but take a screenshot and send it to onenote is proving to be difficult. I am setting mine to open the snipping tool.
     
  10. Kris

    Kris Active Member

    Joined:
    Aug 21, 2014
    Messages:
    644
    Likes Received:
    81
    Trophy Points:
    28
    My Device:
    SPro3
    Still no luck on finding out what command is given when you double click the top button. They only info I can find is it is a F19 command. If anyone knows what the command is it would be a great help in writing up a hotkey script to change it to Onenote desktop 2013 or 2016.
     
  11. tsongx

    tsongx New Member

    Joined:
    Apr 27, 2015
    Messages:
    7
    Likes Received:
    2
    Trophy Points:
    3
    My Device:
    SPro3
    The command behind Note button on AC and the S-Pen's top button, is 'onenote-cmd'.

    And the executive detail of 'onenote-cmd' can be specified in REGEDIT, at the key of 'HKEY_CLASSES_ROOT\onenote-cmd\shell\open\Command'.

    If you want to make the desktop version as default, you can just replace the value of '(Default)' with the path to your OneNote desktop,
    e.g. (backup/export that reg key just in case)
    "C:\PROGRA~2\MICROS~1\Office15\ONENOTE.EXE" for 32-bit OneNote 2013 in a 64-bit Windows.
    "C:\PROGRA~1\MICROS~1\Office15\ONENOTE.EXE" for others.

    Plus, you may redirect the path to any program you like, such as other note-taking program, Outlook, Task Manager, etc. , to activate your favorite app by pressing S-Pen's button or the Note button in Action Center.
     
    Last edited: Aug 16, 2015
  12. Kris

    Kris Active Member

    Joined:
    Aug 21, 2014
    Messages:
    644
    Likes Received:
    81
    Trophy Points:
    28
    My Device:
    SPro3
    Did that a while ago, doesn't work. Had to resort to using the autohotkey app. I believe the command F19 is either "windows + s" or "windows + shift + s". Got it to open the desktop version once, with both single press an double press, but when I restarted my SP3 my script no longer worked. So for now my script opens Onenote 2016, on a single press, and snipping tool, on double press.
     
    Last edited: Aug 17, 2015

Share This Page

Search tags for this page

onenote-cmd

,
onenote-cmd missing
,
onenote-cmd onenote 2016
,
onenote-cmd pen
,
onenote-cmd surface pen
,
open onenote desktop with surface pen
,
run office onenote with surface pen
,
surface pen open desktop onenote 2016
,
surface pen open desktop onenote windows 10
,
you will need a new app to open onenote-cmd