Thanks, unfortunately, I have an applicaiton that creates a file and can launch a commnd with arguments. I wanted automation., not manual copy and paste.
A real disappointment. MS needs to think about simpler uses and simple scritps, where people don't have the access to create XML and the like. This should be a trivially simple thing to do:
onenote.exe /add file section
"Erik Sojka (MVP)" wrote:
[Quoted Text] > The XML input is the preferred way to do this, and I expect that there will > be more 3rd party utilities and MS unsupported power toys released as the > product gets closer to release. > > Having said that, if you want something quick and dirty, you could try the > "/paste" command line option. If you open up the file, copy the contents of that file, then open ON with the > /paste option, that will get you a little closer to what you're looking for... > > =?Utf-8?B?UCBDYXVzZQ==?= <PCause[ at ]discussions.microsoft.com> wrote in > news:8874B92C-9B5B-4D2F-8E2B-C6FBCE7A8EA1[ at ]microsoft.com: > > > I want to have a command line way to start OneNote 2007 and pass a > > filename and have the contents inserted as a page in onenote. I have > > looked at the documentation for command line arguments and tried all > > of the options. None seem to be able to do this. It seems you have > > to create an XML file and have somehting in the XML file that has the > > document name to insert. > > > > There *must* be a way to do this, right? > > > >
|