Hi,

the following should do:

vnd.sun.star.script:HelloWorld.py$HelloWorldPython?language=Python&location=share

You can look it up by e.g. attaching the script to a button or so, the script URI is then given.

Bye,

Jorg

Bernard Marcelly wrote:
Hello,
Using the ScriptProvider interface I can programmatically call scripts in Basic, Java, JavaScript, BeanShell. The called scripts are those provided in the /share subdirectories.

I tried many variations, but I could not call a Python script like
HelloWorldPython in module HelloWorld.py
When I try this URI:
vnd.sun.star.script:HelloWorld.HelloWorldPython?language=Python&location=share
I get in the Python log file :
[ERROR] an error occured during file opening

I am working on Win XP with 1.9.130.

Question : what is the URI syntax for calling a python script ? or is it
a broken feature ?

   Bernard



---------------------------------------------------------------------
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]

Reply via email to