Questions tagged [onenote]

OneNote is a free (gratis, not libre) cross-platform note-taking application. An API exists allowing developers to create apps which allow users to create OneNote notes in their own notebooks. Users can use the free application on Windows, Mac OS X, Windows Phone, iOS, Android, and the web. It gathers users' notes (handwritten or typed), drawings, screen clippings, and audio commentaries.

A OneNote service API exists which enables developers to create notes in users' OneDrive notebooks and includes features such as OCR and URL screenshots.

Unlike other MS Office products its file format is binary (see MS-ONE and MS-ONESTORE).

There is also a COM API which enables developers to interact with documents open in a local instance of OneNote on Windows.

Links:

564 questions
46
votes
13 answers

Is it possible to copy code from Visual Studio and paste formatted code to OneNote?

Is there a way to copy code from visual studio (C#) and paste it into OneNote, without losing the formatting? I was able to do this, but only if I copy from VS, paste to Word, copy from Word, and then paste to OneNote.
MedicineMan
  • 13,795
  • 30
  • 92
  • 137
17
votes
1 answer

OneNote parsing - how to get to the Text Blobs in the document?

I am creating a parser for the .one file extension, which when finished I will add to the Apache Tika project. Here is the APL 2.0 licensed Open Source project I'm creating: https://github.com/nddipiazza/onenote-parser-java I used the specification…
Nicholas DiPiazza
  • 8,329
  • 8
  • 63
  • 123
13
votes
7 answers

Up/Down Key not working in Onenote 2016 for Autohotkey

I mapped alt+i/k to Up/down key using Autohotkey, with the following code: !i:: Send {up} !k:: Send {down} These remappings work with every application except Onenote 2016. I checked it online and found some discussions in the following…
Jason
  • 978
  • 1
  • 8
  • 22
12
votes
4 answers

How To Write To A OneNote 2013 Page Using C# and The OneNote Interop

I have seen many articles about this but all of them are either incomplete or do not answer my question. Using C# and the OneNote Interop, I would like to simply write text to an existing OneNote 2013 Page. Currently I have a OneNote Notebook,…
B17
  • 498
  • 1
  • 5
  • 18
12
votes
3 answers

Converting between OneNote Ids for internal vs HTML links?

I'm trying to follow links in a OneNote page to get the content of the linked page via the OneNote API. The HTML link looks like this: (removed some…
Stephan
  • 5,280
  • 2
  • 21
  • 31
10
votes
3 answers

Library/service for extracting information for Microsoft Onenote documents

Does there exist a PHP/Ruby library or a web-service that enables programmatic extraction of information from Microsoft Onenote documents? The solution is to be implemented in a web application backend. I am not looking for windows specific…
lorefnon
  • 12,112
  • 4
  • 54
  • 87
9
votes
1 answer

Intellij - copy paste code to Onenote 2016 lost spaces with formatting

When I copy the code and comments from Intellij to Onenote. Surprisingly it lost its spaces. Is there any way to solve this problem. Please see screenshot below what I am looking for is with formatting and indentation.
Ragavan Rajan
  • 2,700
  • 16
  • 30
8
votes
1 answer

OneNote API is not returning new pages (even via ms graph explorer)

I'm a creator of an app that integrates with OneNote API via Microsoft graph SDKs for Android/iOS. Several of my users reported that the new OneNote notes stopped syncing with the app (hundreds more affected by this). I've been debugging this. And I…
AndroidGecko
  • 13,296
  • 3
  • 31
  • 47
8
votes
2 answers

API for Microsoft OneNote 2010 + SkyDrive Web Services?

I am quite familiar with the Microsoft OneNote 2007 and 2010 APIs, however these interface directly with OneNote itself. In 2010 we have the great facility of syncing OneNote with SkyDrive. This works really well. We can also use the OneNote Web…
Aaron
  • 2,305
  • 18
  • 25
8
votes
1 answer

How to Access/Download OneNote notebook with Python?

How do I access a OneNote notebook using Python? Is there a way to export it to a pdf or other file programmatically? The notes are taken by hand, so I unfortunately can't just parse it for text. I've found this article from 2011, but the links are…
Charles Clayton
  • 13,212
  • 10
  • 73
  • 114
8
votes
12 answers

Why is the save button needed?

Software like OneNote has shown that auto-save can be implemented, and it works just as well (or better) as the manual save button / CTRL+S. Anyways everything that you work on you want saved. Its just if you're trying out something destructive that…
Robin Rodricks
  • 99,791
  • 133
  • 372
  • 575
8
votes
2 answers

Is there a way to talk to OneNote through code?

I love using OneNote, however I want more control over the locations of my notes and how notes are generated. I'm very versed in VBA and ok with Python (and those are the only languages I can code with on my machine) however I haven't found a…
mandroid
  • 2,189
  • 5
  • 23
  • 35
7
votes
0 answers

Is there anyway to read .one(OneNote files) using Python script?

I am trying to read .one file(OneNote files) and want to write its content into a text file, but didn't find a single way to do it using Python. Please help me with this.
Anshul
  • 73
  • 4
7
votes
2 answers

Onenote API for Local Computer

This is my first post on Stackoverflow - I am looking for guidance about OneNote API. I look forward to develop a solution primarily for "Own Usage" - which Creates, Opens and Closes OneNote Sections on my Local Machine - No cloud etc. is to be…
Sanjiv
  • 83
  • 1
  • 5
6
votes
3 answers

onenote API using python: adding more text to a page

I'm trying to add some new text to a page knowing the page id referencing this https://docs.microsoft.com/en-us/graph/onenote-update-page I just want to add a new text box. It seems like it is just another div to the html. How do you just add a div…
jason
  • 2,045
  • 14
  • 72
  • 122
1
2 3
37 38