OneNote PowerToys

A Collection of PowerToys for OneNote

OneNote Text Importer

April30

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

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Ma.gnolia
  • StumbleUpon
  • Technorati
6 Comments to

“OneNote Text Importer”

  1. On May 17th, 2007 at 10:11 pm holly Says:

    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. On May 17th, 2007 at 10:18 pm holly Says:

    gofly#live.com

  3. On June 2nd, 2007 at 3:40 pm cliff Says:

    When will the zip issue be fixed?

  4. On July 19th, 2007 at 8:57 pm Bob Says:

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

  5. On July 26th, 2007 at 5:52 am Alok Says:

    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. On August 9th, 2007 at 1:19 pm Kevin Says:

    setup file will not unzip

Email will not be published

Website example

Your Comment: