Category Archives: OneNote API

OneNote EMR

 

AbletFactory has a OneNote based EMR that has always intrigued me…

ON2007SuiteMain[1] ON2007SuiteToolbar[1]

 

I’ve never noticed a trial/download link, but tonight I stumbled across a copy on CodePlex that is available for download. (Note: It doesn’t appear to work well in 2010 and/or Win7)

OneNote PowerShell Provider

Brian Dewey has created a OneNote PowerShell Provider PowerToy which uses the power of scripting to get to OneNote data.

He includes several scripts, such as the “Get-OneNoteDigest.ps1″ which sends email when pages in a shared OneNote notebook change.

Also check out a more recent post about Technology: Todo.txt, PowerShell, and OneNote and how he can use his TodoTxt scripts to manipulate his list inside OneNote!

OneNote Web Exporter

Dave Tse has created a really cool OneNote Web Exporter and released it via CodePlex (MS Open Source)…

What is this for?
The OneNote Web Exporter allows you to export a OneNote notebook as html files that anybody can view through a web browser.

How does it work?
You give it a OneNote 2007 Notebook and it will generate an html page and a folder containing all of the notebook data.
overview.PNG
What can I do with it?

  • Export a notebook when you need to send it to somebody who doesn’t have OneNote 2007
  • Maintain a browser accessible version of your notebook by scheduling a daily export to a SharePoint server

ONWebber.png

Send To OneNote Mobile

Both John Guin and Dan Escapa had a similar, but unfinished PowerToy, so they combined code and released “Send To OneNote Mobile”.
They both have written about it… Links to John’s Post and Dan’s Post

Features…

  • Adds a button to copy the currently viewed page to the OneNote Mobile folder.
  • Click Twice and it will store the GUID in an xml file to avoid duplicates.

Files:

Import texts from Project Gutenberg

John Guin has completed his tool to import texts from Project Gutenberg.

Features…

  •  Choose a Notebook (w/ tree navigation)
    • Includes some basic fuzzy-logic to guess one or it will default to Unfiled Notes.
  • Status Bar and completion notification.

Limitations…

  • Not all texts have the same delimiters and may end up garbled.
  • John has tried to account for this and also left it extensible…
    • “I left this slightly extensible for users without Visual Studio who do not want to re-write or add to the code to get around the limitation of using the word “Chapter” to break out individual chapters. You can add new words to use as separators to the string registry key at HKEY_CURRENT_USER\Software\Guinsoft\GutenWin named “delim”. Just add your new keywords you want to use as separators to the end of the list, and use a comma as a separator.”

More Info on John’s Blog

Downloads:

OneNote Text Importer

John Guin gives us yet another requested and useful PowerToy… (where was this guy two years ago during the “contest”?)

It will allow you to navigate to a folder on the hard drive and import all the TXT files in it to OneNote. It will create a new section with the name of the folder on the hard drive as the section name. And here I hit a snag. I never really liked the behavior of putting all new information into Unfiled Notes by default. While it makes sense most of the time, in this case I really saw a need to control where the imported text files would go. I decided to implement a tree control to let the user choose which notebook the files would be imported. So now you can choose into which notebook you want the imported files to go.

Here are the links.

For the setup program: http://johnguin.com/Documents/OneNote_Text_Importer_Setup.zip

And the source code (C#) http://johnguin.com/Documents/OneNote_Text_Importer_Source.zip

Migrate from FlexWiki to OneNote

Joshua Flanagan is working on migrating from FlexWiki to OneNote, so he created a utility to migrate the data. So far he has…

I am making the source code available in the hopes that someone can take it and run with it. Be warned, it is not pretty. It currently only supports the following subset of FlexWiki formatting:

  • Intra-site wiki page links and external hyperlinks. Federated wiki links are not supported.
  • Bold and italic text
  • All headings are simply translated as bold text
  • Bulleted lists (but not nested bulleted lists)
  • Tables

 

Found via Dan Escapa’s post.

Developers: Links to Dan Escapa’s Posts

Creating a C/C++ Add-In which works with OneNote!

OMSpy – A OneNote developer’s tool

OneNote DevPal – Another tool to help devs working w/OneNote

 

Send to OneNote from Windows Explorer (Sample App)

Dan Escapa has written a nice long article about creating an App that adds OneNote in the “Send To” list when right-clicking in Windows Explorer.

Send to OneNote from Windows Explorer – Sample App

OneNote 2007 Xml Viewer

The Unknown OneNote Guy has created a quick and dirty OneNote 2007 Xml Viewer

I say quick and dirty because it comes with the following warning…

A few things to note about this application – I would not consider this a solid app. There was little if any design, no refactoring, and the User Interface portion was beat into submission with a stick – sorry I am a Web Developer and more behind the scenes then out in front. Big disclaimer here – please don’t use this in your mission critical applications. You get what you pay for in this application. It is meant for entertainment purposes only!

Despite this, I think it is awesome. Trying to get access to the XML in OneNote is not as easy as the rest of Office 2007 and this is a great starting point for developers wanting to get familiar with the raw data. Hopefully it will spur some more import/export tools.