Windows command line switches broken?

I want to have Impress open a presentation (ppt or odp), run once in slideshow mode, then close and exit. I also want to trigger that action from a Perl script (this part I can do).

My problem starts with running the slideshow. I can load a presentation from the CLI (command line interface) by:

C:\Program Files\Sun\StarOffice 8\program>soffice.exe TCS1.ods

or

C:\Program Files\Sun\StarOffice 8\program>simpress.exe TCS1.ods

The presentation loads, and sits at the design screen. Great. But none of the switches listed in the help screen have ANY effect on the behavior of Impress when added to the command. I referenced:

C:\Program Files\Sun\StarOffice 8\program>soffice.exe -help

I tried singular and combos of -SHOW, -INVISIBLE, -HEADLESS, -MINIMIZED. I used both lower and upper case, no difference in result. I also exited the program completely before each attempt.

The switches are being ignored. Anybody else had these work? is it just me? :)

Maybe this is better done by executing some starbasic code, but in any case there is no joy using CLI parameters.

Thanks!

Message was edited by:

jfields

[1195 byte] By [jfields] at [2007-11-26 10:38:18]
# 1

I installed OpenOffice 2.04 RC3, and the switches actually cause the presentation to autostart for both ODP and PPT! So I guess these features where in the ported help code but not fully implemented on the Staroffice side.

So I need to deploy OpenOffice instead of Staroffice for this to work. Fine, but then it doesn't exit after playing the file. It just says click to exit presentation. So I also need it to automatically exit so I can then go grab the next presentation and start it the same way.

I fear there is no CLI facility for this and it is time to figure out how to make a macro or something to terminate the app when the slideshow is done. Off to find an event list and learn starbasic macros!

FYI...

jfields at 2007-7-7 2:49:32 > top of Java-index,StarOffice,StarSuite...