cnjmike Newbie

Joined: 12 Feb 2010 Posts: 1
|
Posted: Fri Feb 12, 2010 10:27 am Post subject: suppress ascii filter dialog on open, using headless |
|
|
I did a quick-and-dirty file translator using office headless. i wrote a short vba macro that saves docs / spreadsheets as html, presentations as pdf, then closes. on error it closes. then i added a event trigger to the Open Document event to run the macro.
Relatively painless - call soffice -headless <filepath> and it almost always translates the doc and exists.
Problem: when *opening* the doc, before the macro is invoked, sometimes the ascii filter dialog comes up. is there any way to ignore this from the command line, or maybe with another event trigger, to prevent the headless mode from hanging when the app is trying to present that dialog?
thanks... Mike |
|