OneNote doesn't really have much of an object model. It's mostly XML schema in which case it's pretty easy to leverage the existing .NET classes XmlDocument, XmlNamespaceManager, etc.
How about you write a cmdlet? :)
I'd like to see one that merges two OneNote notebooks.
-- Josh Einstein (Tablet PC MVP) Einstein Technologies Tablet Enhancements for Outlook - Try it free: www.tabletoutlook.com
"William Stacey [C# MVP]" <william.stacey[ at ]gmail.com> wrote in message news:%23aAhTmRgHHA.4416[ at ]TK2MSFTNGP03.phx.gbl...
[Quoted Text] > Would be coolness to have a powershell cmdlet go against the object model > so > you get typed params etc. And input files of known types without need fro > some crazy xml input file (i.e. word docs, excel, pictures, etc) > > PS c:\> Out-OneNote -file mypic.jpg -folder MyFolder > PS c:\> Out-OneNote -clipboard > PS c:\> dir *.doc | out-onenote > -- > William Stacey [C# MVP] > > > >
|