Re: Can Java Scripts no longer been called from basic macro ?

2016-04-16 Thread SOS
Oliver, sorry but still the same error An exception occurred Type: com.sun.star.script.provider.ScriptFrameworkErrorException Message: unsatisfied query for interface of type com.sun.star.script.provider.XScriptProvider!. - Windows 8 - het scripts are on the machine "C:\Program Files

Re: Can Java Scripts no longer been called from basic macro ?

2016-04-14 Thread Oliver Brinzing
Hi, i think, the Scripting Framework needs a 32bit Java JRE installed. For example, if i remove "C:\Program Files (x86)\LibreOffice 5.1\program\classes\ScriptFramework.jar" the macro will fail too. Oliver Am 14.04.2016 um 19:28 schrieb SOS: Oliver, sorry but still the same error An

Re: Can Java Scripts no longer been called from basic macro ?

2016-04-14 Thread Oliver Brinzing
Hi, this will work in LO 4 and LO 5: OPTION EXPLICIT Sub oJavaScriptMacro Dim oMSPF as Object Dim oSP as Object Dim oScript as Object oMSPF = GetDefaultContext.getValueByName("/singletons/com.sun.star.script.provider.theMasterScriptProviderFactory") oSP =

Can Java Scripts no longer been called from basic macro ?

2016-04-14 Thread SOS
Hallo, I need confirmation if a java script or macro can no longer (sinds (LO 4) been called from a basic macro who was running fine on LO 3 using 4.4 I get a error calling the script: oScript = oSP.getScript("vnd.sun.star.script:Library1\Macro1.js?language=JavaScript=user") the script is