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
Posted: April 30th, 2007 under MS OneNote Team, OneNote API, PowerToys.
Comments
Comment from holly
May 17, 2007 at 10:18 pm
gofly#live.com
Comment from cliff
June 2, 2007 at 3:40 pm
When will the zip issue be fixed?
Comment from Bob
July 19, 2007 at 8:57 pm
I cannot open the downloaded zip files. I get the error message that the zipped folder is invalid.
Comment from Alok
July 26, 2007 at 5:52 am
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?
Comment from Kevin
August 9, 2007 at 1:19 pm
setup file will not unzip
Pingback from OneNoteのプラグインまとめ | Web scratch
June 12, 2010 at 7:56 pm
[...] http://www.onenotepowertoys.com/2007…text-importer/ [...]
Comment from holly
May 17, 2007 at 10:11 pm
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.