The py-uno api gives a very simple way to call ooo functions from the
command line.  I'm a newbie but I was able to get it running very
easily.

I'm not sure if you can invoke a service from uno, but since you're
using Python already it might be worth a look.

mike

On 20 July 2010 10:25, Patrick Bernard <patr...@kilargo.com> wrote:
> Hi
>
> I don't think it is possible to use a service from the command line. However,
> you can call a macro from the command line, and the macro can use your
> service.
>
>
> Regards
>
> Patrick
>
> Le mardi 20 juillet 2010, Thibault Vataire a écrit :
>> Hello,
>>
>> I've made a dummy service written in Python which load a new Writer
>> document. This service is registered as a job through an extension.
>>
>> If I invoke this service from a starbasic macro, it works great.
>> But my goal is to run this service from command line.
>>
>> I've tried something like this :
>>
>> <soffice_path>/soffice vnd.sun.star.job:service=the.name.of.my.service
>>
>> but nothing happens.
>>
>> Is there a way to execute a job/service from the command line ?
>>
>> Regards
>> Thibault
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
>> For additional commands, e-mail: dev-h...@api.openoffice.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
> For additional commands, e-mail: dev-h...@api.openoffice.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to