Welcome to MSDN Blogs Sign in | Join | Help

OMSpy - A OneNote developer’s tool

I know a few people have created their own app which does this but I finally wanted to release the one that Ilya Koulchin created for us on the OneNote team. Introducing..OMSpy

OMSpy Overview

OMSpy is a tool to get you started using the OneNote API, it allows you to export the XML for an entire OneNote hierarchy, sections & pages. It also lets you update the hierarchy with one click of a button. Additionally you can update the page content and see if you edits are valid before updating them on a page.

Screenshot

 

Commands

  1. Refresh – This will refresh the current hierarchy of what you see in the view
  2. Release – This will release OMSpy's COM reference to OneNote
  3. Get Content – If you have an item selected this will give you the XML for the content. This is mainly useful for the pages
  4. Update Content – If you make changes in the content field it will update the XML accordingly and make a change on the page.
  5. Publish PDF – This will publish a PDF for the current item selected, via the API
  6. Save Archive – This will create a OneNote Package (onepkg file) for the item selected
  7. New Page – This will create a new page in the section selected
  8. Navigate To – This will launch OneNote and navigate to the item selected
  9. Update Properties – This will update the page's properties as listed under the main content
  10. Exit – Well I think you can understand this one

All you need to do is to download OMSpy.zip and extract it wherever you want, make sure you have OneNote 2007 installed and then you are done! I believe it needs the .net 2.0 framework.

Download: OMSpy.zip

If you have problems please let us know. <applause> Otherwise a big thanks to Ilya for his help on this! <applause>

Published Monday, February 12, 2007 7:44 PM by descapa

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Developers: Links to Dan Escapa&#8217;s Posts at OneNote PowerToys

# Testing OneNote performance with huge amounts of text on a page

I was reading the newsgroups a few weeks ago and saw this question : "Will onenote run better if I keep

Monday, February 11, 2008 12:08 PM by OneNote Testing

# How to work around a bug with the image rotator and search indexing

One of my hobbies which I never have time for is playing around with my old TRS-80 Color Computer . For

Monday, August 25, 2008 11:07 AM by OneNote Testing

# Reading the OneNote schema documentation helps prevent bugs

As I was working on the Calendar Page Make r powertoy for OneNote, I hit a problem at one point with

Monday, December 01, 2008 10:11 AM by OneNote Testing

# A powertoy to make using Adapx pens for OneNote a little easier for me

I managed to get my hands on a Capturx pen a while back from AdapX. If you haven't seen these pens, they

Monday, March 09, 2009 11:13 PM by OneNote Testing

# Explaining an easy hurdle to overcome with the Page Expander Powertoy for OneNote

One of the reasons it took me too long to finish the Page Expander powertoy (I haven’t used the Adapx

Thursday, March 12, 2009 10:51 AM by OneNote Testing

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker