Page 1 of 1

Opening PPTX from command line does not start immediately

PostPosted: Wed Jan 31, 2018 11:40 am
by vanderk
If I execute the following from the command line the presentation starts immediately:'
C:\SacredSongsOfTheChurch>"C:\Program Files (x86)\OpenOffice 4\program\soffice.exe" mypres.ppt

If I do the same thing with a pptx file it opens in design mode:
C:\SacredSongsOfTheChurch>"C:\Program Files (x86)\OpenOffice 4\program\soffice.exe" mypres.pptx

Is there a way to get a pptx to open immediately?

Re: Opening PPTX from command line does not start immediatel

PostPosted: Wed Jan 31, 2018 2:50 pm
by Villeroy
Add the -show switch.

Re: Opening PPTX from command line does not start immediatel

PostPosted: Wed Jan 31, 2018 3:03 pm
by vanderk
I'm sorry I left that part out. I am using -show
"C:\Program Files (x86)\OpenOffice 4\program\soffice.exe" -show -nologo mypres.ppt (works)
"C:\Program Files (x86)\OpenOffice 4\program\soffice.exe" -show -nologo mypres.pptx (does not)

I've tried removing -nologo but that doesn't change the result.

Re: Opening PPTX from command line does not start immediatel

PostPosted: Wed Jan 31, 2018 4:26 pm
by Villeroy
Install https://libreoffice.org instead and use its --show switch.

Re: Opening PPTX from command line does not start immediatel

PostPosted: Wed Jan 31, 2018 5:13 pm
by vanderk
Villeroy wrote:Install https://libreoffice.org instead and use its --show switch.


This does work as expected but the slide view in presenter does not look the same as in OpenOffice. I will just use F5 when the pptx opens.

Thanks for the reply.

Re: Opening PPTX from command line does not start immediatel

PostPosted: Wed Jan 31, 2018 6:02 pm
by Villeroy
It would look exactly the same if you would store all your documents in the application's native document format which is ODF (odt, ods, odp, odg etc) for Libre/OpenOffice and doc(x), xls(x), ppt(x) etc for Microsoft office.
Never work with foreign file formats, no matter which application.
The exchange format is PDF for anything printable (sometimes even good enough for presentations).
If (and only if) you need to co-edit some document with users of MS Office (which by the way meanwhile supports ODF), then you may export a copy in foreign file format after you finished your work in ODF format. When you receive a new version in foreign format, the first thing to do is saving a working copy in ODF.