Hi Craig,
For example, from within a Staroffice basic routine can one call a python or java library routine?
try: REM ***** BASIC ***** OPTION EXPLICIT Sub callScript() Dim oMSPFac as Object Dim oMSP as Object Dim oScriptProvider as Object oMSPFac = createUnoService("com.sun.star.script.provider.MasterScriptProviderFactory") oMSP = oMSPFac.createScriptProvider(ThisComponent)oScriptProvider = oMSP.getScript("vnd.sun.star.script:helloWorld.py$HelloWorldPython?language=Python&location=share")
oScriptProvider.invoke(Array(), Array(), Array())oScriptProvider = oMSP.getScript("vnd.sun.star.script:HelloWorld.helloworld.js?language=JavaScript&location=share")
oScriptProvider.invoke(Array(), Array(), Array())oScriptProvider = oMSP.getScript("vnd.sun.star.script:HelloWorld.helloworld.bsh?language=BeanShell&location=share")
oScriptProvider.invoke(Array(), Array(), Array())oScriptProvider = oMSP.getScript("vnd.sun.star.script:HelloWorld.HelloWorld.printHW?language=Java&location=share")
oScriptProvider.invoke(Array(), Array(), Array()) End Sub Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
signature.asc
Description: OpenPGP digital signature