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

  1. I’m seeking a software that can add the context in clipboard to onenote by using hotkey,does it have be done by anyone?or i have to try to do it myself.

  2. gofly#live.com

  3. When will the zip issue be fixed?

  4. I cannot open the downloaded zip files. I get the error message that the zipped folder is invalid.

  5. Hi,

    Is there any way to open One Note 2007 application using VB script/Java script?

    I tried this VB script …this failes because VB script is not supporting OUT parameter

    dim oneNote,pageStyle,importedPageID,unfiledPath,unfiledID

    set oNote = CreateObject(“OneNote.Application”)

    oNote.GetSpecialLocation 1,unfiledPath

    oNote.OpenHierarchy unfiledPath, “”, unfiledID, 0

    oNote.CreateNewPage unfiledID,importedPageID, 0

    Dim xml2importBase ‘As String

    xml2importBase = “”

    xml2importBase = xml2importBase “”

    xml2importBase = xml2importBase “”

    Dim tailXml

    tailXml = “”

    Dim xml2import

    xml2import = xml2importBase tailXml

    oNote.UpdateHierarchy xml2import

    oNote.NavigateTo importedPageID, “”, False

    I know we cant send out parameter in the VB script.

    So Is there any way to overcome this problem and make this script run?

    Or can I import XML to the OneNote2007 application without SectionID and PageID?

  6. setup file will not unzip

  7. OneNoteのプラグインまとめ | Web scratch - pingback on June 12, 2010 at 7:56 pm

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackbacks and Pingbacks: