Converting file types (to OneNote to PDF)

J

JasonM

With what appears to be better tablet support, we'd perfer to use a OneNote
format over PDF, but I'm not having much luck in finding how to convert file
types.

What I would like to do is take some files and automatically convert them
(via PowerShell) to a OneNote format. At a later date, I'd then like to
convert them to a PDF format for distribution.

I can see how to do it from inside, but I wold rather automate it with
PowerShell without opening OneNote. I'd heard that OneNote 2007 offered more
command line control, but I can't find the information beyond command line
switches used during startup.

So, in a nutshell, is this possible or am I chasing something that doesn't
exist? (Or doesn't exist yet.)
 
J

John Guin

Hello Jason,

What is the original format of the files you want to import?

Also, I'm not sure what command line support you've heard about. ON 2007
has a pretty good XML extensibility model documented at
http://msdn2.microsoft.com/en-us/office/ms406042.aspx

and

(video) http://on10.net/Blogs/laura/onenote-for-office-2007/

If you are looking to import text file in txt format, there is a utility I
wrote to do that for you at
http://blogs.msdn.com/johnguin/archive/2007/04/30/customer-feedback-results-in-another-powertoy.aspx

Hope some of this helps,
John
 
J

JasonM

Thanks for the response.

I'm getting a file invalid or corrupted error on trying to unzip your files.

All the files are text format with varying extensions (.cpp, .wrt, .log,
etc.). As you can guess, it's C++ source files, program generated reports,
and input/output logging. All created in a UNIX environment.

The command line info we have is hearsay based on ... well I'm not sure
exactly, reviews and talking with people. I just started looking into it
seriously a few days ago and was hitting dead ends everywhere. I found more
than enough info on the startup switches, but we need to convert the files,
not start OneNote.

I'm helping a professor streamline the grading process by combining all the
files into a single file (per student). He's the one who had heard about
the, apparently not quite true, command line functions. And to clarify, in
case there's now concerns of "doing your homework for you", this isn't a
class assignment; we’d like to use OneNote over Acrobat for the improved
tablet PC support.
 
J

John Guin

I have no idea what is going on with the files. I zipped them using Winzip
11.1 and used the Legacy setting (winzip 2.0). I remember having to send
them to the server a second time - if you use the WinXP "Create a compressed
folder" functionality, the server will corrupt the file on upload. If you
have the latest version of the files, they should work just fine. If not,
let me know and I can post the source code for the C# file - it's not that
big.

The easiest way to do this import would be to alter my tool to accept all
the file types you have to import - they all look like text files despite the
extensions.

The next easiest way would be to write a batch file to copy the files with a
TXT extension, and use my tool.

What tool are you using to unzip the files? Feel free to email me off list
at johnguin at hotmail.com.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top