Поделиться через


Tip: Open a specific page when starting OneNote 2007 or 2010

I was looking at the Facebook page for OneNote over the weekend (OneNote has a Facebook page - wow!) and saw Anthony asking how to open a specific page each time he starts OneNote. This is possible via a command line - here's how to do it if you are not familiar with working with the command line.  I tried to contact Anthony directly but no luck so far, so I figured I could write about this here and maybe he could find it.

First, open the location of the folder where you installed OneNote. On my computer, that is c:\program files\microsoft office\office14. Then right click and drag the onenote.exe file from there and drop it on the desktop and be sure to select "Create Shortcuts here."

Next, right click the page you want to open each time you start OneNote and select "Copy Link To Page."

Change to a different page in OneNote (we'll need to do this to test out the change in a bit). Then start Notepad and paste the shortcut there. It should look something like this:

onenote:///\\JOHN-Y560\Users\John\Documents\OneNote%20Notebooks\Personal\General.one#Top%20Uses&section-id={BA73E4E2-0C6B-43FE-8B7E-A1B110BCC4A1}&page-id={9CADE839-1E80-43E0-B964-9C549AECC52D}&end

Add /hyperlink and a space character in front of that goo - it should now look like

/hyperlink onenote:///\\JOHN-Y560\Users\John\Documents\OneNote%20Notebooks\Personal\General.one#Top%20Uses&section-id={BA73E4E2-0C6B-43FE-8B7E-A1B110BCC4A1}&page-id={9CADE839-1E80-43E0-B964-9C549AECC52D}&end Select all of this and copy it.

Finally, right click the shortcut icon you created on the desktop and select Properties. You should see the "Target" box:

clip_image001

Click at the right of that box add one space at the end (just to the right of the " character). Now paste all the text from notepad to the end of the box. Click OK.

That's it. Now to test it. Double click the shortcut. You should get navigated to the page from which you copied the link.

The set of command line switches is at https://office.microsoft.com/en-us/onenote-help/command-line-switches-in-microsoft-office-onenote-2007-HA010177833.aspx.

Sadly, this may not work. If the total length of the Target exceeds 256 characters, some data can get cut off and cause this not to work. If that happens, here's the alternate method.

Go back to notepad which should have the path to OneNote.exe in it. At the end of that, right after the " symbol, add a space then /hyperlink and another space. Then copy the link to the page you want and paste it to the end.

A little cleanup is needed to get this to work right with the Windows command line. Add an extra quote before and after the link to the page (before the onenote:/// and after the word end) . You should wind up with something that looks like this:

"C:\Program Files\Microsoft Office\Office14\ONENOTE.EXE" /hyperlink "onenote:///\\JOHN-Y560\Users\John\Documents\OneNote Notebooks\Personal\General.one#Top Uses&section-id={BA73E4E2-0C6B-43FE-8B7E-A1B110BCC4A1}&page-id={9CADE839-1E80-43E0-B964-9C549AECC52D}&end"

Finally, save this as a BAT file - in Notepad, File | Save As | change to "All Files" and give it the name of "OneNote Page.BAT." Save it to the desktop and then double click it - OneNote will open to the page you want.

Comments

  • Anonymous
    September 17, 2010
    You could actually create a desktop shortcut with the OneNote URL. Right-click on desktop > New > Shortcut...

  • Anonymous
    September 17, 2010
    You could actually create a desktop shortcut with the OneNote URL. Right-click on desktop > New > Shortcut...

  • Anonymous
    September 18, 2010
    Yep - much simpler!  Just paste the shortcut into the location field and it creates a nice little "Internet Shortcut" with the OneNote icon for you.

  • Anonymous
    September 08, 2011
    Is there a way to open to a new blank page in a specific section?  

  • Anonymous
    September 08, 2011
    Do you want to open a blank page that already exists in a specific section, or click some <thing> that creates a new page in a specific section and navigates OneNote to that section?

  • Anonymous
    September 08, 2011
    I'd like to open a fresh blank page in an specific existing section using a short-cut or autokey.   Currently I use the windows key -N and then manually move the page to the right section.  I've created a short-cut that opens an existing page in the section I want, which gets me part-way to the goal. I'd also love a way to custom load OneNote.  I envision a desktop icon that starts up OneNote with a subset of Notebooks.  Schoo setl or Work sets or Full set. Thanks for all the tips, and tools over the years..

  • Anonymous
    September 08, 2011
    My early post seems to have gone to the ether.   I commented that the copy link for a Skydrive shared notebook contains both the Skydrive link and the local link.  Thus if you want to make a speedy short-cut, just use the local section of the link, and avoid the prompts (security, Skydrive log-in)

  • Anonymous
    September 13, 2011
    Short of writing a custom addin, one tip that may help.  If you know you will use a certain section for some period of time (for instance, I need to use section "Capybara Research" for the next three days) you can set OneNote to use that section as Unfiled Notes.  Then new side notes will go there by default.  Does this help?

  • Anonymous
    May 11, 2012
    The best way is to use "Pin to Desktop" from the beautiful Powertoy "Onetastique", one of the best of Omer!

  • Anonymous
    June 27, 2013
    That tip worked perfectly! Thank you !