Hi Piet,

>  >
>  > The LO-part of the scripts start with the line  >
>  >   Set oServiceManager = CreateObject( "com.sun.star.ServiceManager" )
>  >
> According to Andrew Pitonyak's documentation, the way to get the service
> manager is oServiceMgr = GetProcessServiceManager()
> 
> Maybe you could try that.

I tried, no luck, GetProcessServiceManager() is not recognised.

AFAIK GetProcessServiceManager() is used within an LO-application and not from 
outside.
There is no function GetProcessServiceManager() in VBasic (and there may not be 
an active ServiceManager either).

Winfried
_______________________________________________
LibreOffice mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to