Hi, I already considered this possibility. But I was hoping avoid this extra layer of macros.
Thank you Regards Thibault ----- Mail Original ----- De: "Patrick Bernard" <[email protected]> À: [email protected] Envoyé: Mardi 20 Juillet 2010 11:25:13 Objet: Re: [api-dev] execute jobs from command line 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: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
