(Courriels de diversion: <quarantaine@resolus-exaspereriez.com> <bottes@traduirez-reeducations.com> <estomperais@tortueuses-congratulerent.com> <infererions@rongeuses-anemone.com> <eclipsera@frottent-tergiversons.com> <salerai@depoitraillee-enjoignit.com> <fermoirs@offenserions-enterreront.com> <remaniements@correspondrait-desarconnent.com> <festoyions@renverra-impetueuse.com> <comprendrais@enorgueillirons-symbolisez.com> )
Jean-Michel a écrit :
Bonjour,
j'ai un script shell qui appelle une macro/document OpenOffice.org .
Lorsque la macro se termine, j'aimerai fermer le document_programme (macro_doc_to_pdf.odt).
Comment faut-il faire?
Pour information:
#!/bin/bash
if [ "$1" = "" ]; then exit; fi
fullpath=`cd \`dirname "$1"\` ; echo "\`pwd\`/\`basename "$1"\`"`
echo $fullpath
#NB: les 3 lignes suivante n'en sont qu'une!
ooo-wrapper -invisible -headless -norestore $BASEMACRO/macro_doc_to_pdf.odt "macro://macro_doc_to_pdf/Standard.doc_to_pdf.ConvertToPDF($fullpath)"
man openoffice [...] -invisible Starts in invisible mode.
Neither the start-up logo nor the initial program window will be visi- ble. However, the OpenOffice.org software can be controlled and docu- ments and dialogs opened via the API.
When the OpenOffice.org software has been started with this parameter, it can only be ended using the taskman- ager (Windows) or the kill command (UNIX based systems).
It cannot be used in conjunction with -quickstart.
-------------------------------------------------------------------- Les listes de diffusion occultes: <URL:http://www.CULTe.org/listes/>