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 decent way to interact with OneNote through code. I'm using OneNote 2003 which doesn't look like it has an xml export like 2007 does. Has anyone figured out an easy way to be able to read and write OneNote files with Python or VBA?


OneNote 2007 has more options, but OneNote 2003 only supports the CSimpleImporterClass API for importing data programmatically into OneNote. CSimpleImporterClass will let you bring in images, ink, and HTML into OneNote using VB.

Reading OneNote 2003 files might be a little harder. I don't know of any resources to make it easy to ready OneNote 2003 files with Python or VBA.


Python support described @ http://varunsrin.posterous.com/python-onenote-you

There is also a C# plugin @ http://onom.codeplex.com/


对于OneNote笔记本,部分或页面上的基本CRUD(创建,读取,更新,删除)操作,还可以使用Python中的REST API。

链接地址: http://www.djcxy.com/p/42784.html

上一篇: 如何简化从WinForms到WPF的转换

下一篇: 有没有办法通过代码与OneNote交谈?