microsoft onenote navigator

Use Alfred to browse through your Microsoft OneNote notebooks, section groups and sections and then jump to them instantly.

Author: Kevin Funderburg

Last Updated: 25/02/20 19:25:48

Stars: 20

Get Latest Release View on GitHub

Navigate OneNote Notebooks With Alfred

Search or browse any notebook/section group/section in Microsoft OneNote from Alfred 4.



Features

  • Search or browse all OneNote Notebooks and sections/section groups
  • When searching:
    • Press ↩︎ to either open the selected item in OneNote or browse the selection.
  • When browsing:
    • Press ↩︎ to continue diving deeper into notebook hierarchy. Once a page is found (deepest depth) it will open it in OneNote
    • Press ↩︎ to open the currently selected notebook/section/section group

Installation

Download the latest release and double-click the file to install in Alfred.

Usage

The two main keywords are ;so & ;bo:

  • ;so [<query>] – Search all notebooks/section groups/sections

    • ↩︎ or NUM — If the selection is a section with no subsections, then open selection in OneNote; otherwise browse selection in Alfred.
    • ↩︎ — Open selection in OneNote instead of browse.
  • ;bo [<query>] — Browse OneNote from top level Notebooks in Alfred.

    • ↩︎ or NUM — View the selections sub-sections, if it has no sub-sections (deepest level of notebook) it will open the page in OneNote.
    • ↩︎ — Open selection in OneNote instead.

Base url is stored with seturl:

Configuration

The workflow locates a plist file that contains the names of the notebooks, sections and pages, and then uses those to build a URL that OneNote can respond to. The base of the URL, however, is unique to each machine and cannot be found within the plist. So in order for this workflow to work

  1. Open OneNote, right click a notebook, section, or page and click the Copy Link to {Page/Notebook/Section}.
  2. Use the seturl keyword and paste the copied link and press ↩︎. After the base url is stored, the workflow should be functional.
    • NOTE: If your notebook is stored on Microsoft Sharepoint, the URL that’s created cannot be opened locally, the notebook must be stored in OneDrive for the URL to valid.
  • View the gif below to see this in action.

Licensing & thanks

This workflow is released under the MIT Licence.

This workflow uses on the wonderful library alfred-workflow by @deanishe.

Changelog

  • v1.0.0 — 06/14/19
    • First public release
  • v1.2.0 – 06/19/19
    • Fixed storage of base url
  • v1.2.2 – 10/14/19
    • Added trap for sharepoint URLs
  • v1.3.0 – 02/23/20
    • Added search all functionality
  • v1.3.1 – 02/25/20
    • Added ability to browse a selection after searching all.
    • Improved code logic and added new keywords.