Christian Andersson wrote:
but here openoffice is already started, I don't need to start it again.

and since this klient will run on perheps more then thousand computers,
I don't want to hardcode any path to the soffice binary.
1.    Yes, of course, stupid of me. Instead of copying
/usr/gerrit/OOo/program/soffice "macro://tables/Standard.import.shellToScalc"

I should have written something like
<path>soffice "macro://tables/Standard.import.shellToScalc"

I suppose you are familiar with path search and  the PATH command.
I still think it's a pretty concise call.

2. The call doesn't start another instance of OOo, it just executes the macro
in the running OOo. If it would open another instance of OOo every time
I would have tens of thousands of instances of OOo running on my machine
because I practically never switch it off. It does such calls every 10 minutes
during the day, goes to sleep at 22:00 and wakes up at 07:00 on weekdays.
It sleeps during the weekend, except for my fooling around with it.
I'm pretty sure I have only one instance of OOo running.

Sincerely,
Gerrit Jasper

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to