2
1
A (Python, but that's not really relevant) script I'm writing will issue a command line call to open a CSV file with OpenOffice (OO). I need OO to skip over the import dialog box while opening the script, or to tell OO that the defaults from that box are okay and thus the dialog is not needed.
Googling this has shown me stuff about setting up macros or a registered data source. Both of these seem to be overkill and are things I am clueless about.
Is there a command line option to tell OO to skip the dialog or use the defaults? Or some other simple way to accomplish what I need?
Interesting idea: In fact, I could just work in another format as long as it can be imported/exported easily by other programs. Unfortunately, as you said DIF format still gets a dialog; Flat XML (saved by OO as a .fods, but it can be renamed to a .xml) avoids the dialog, but increases the file size by over 100 times in a simple example. – GreenMatt – 2011-09-30T14:18:19.373
@GreenMatt: Answer updated - SYLK looks a good candidate. – RedGrittyBrick – 2011-09-30T14:48:44.313