List Info

Thread: Calling script from command line, method OOo 2




Calling script from command line, method OOo 2
user name
2007-03-01 04:29:38
Hi,
A current thread at OOoForum shows the following problems.

I want to call a script (Basic, Python...) from the command
line, using 
the method introduced with OpenOffice.org 2.0.
Example with Python, calling a script without arguments:

soffice.exe 
"vnd.sun.star.script:MyScriptFile.py$myRoutine?language
=Python&location=user"

If my script is declared as having one optional argument, I
find in the 
called script that this argument is not empty, but contains
the value True.
This happens both with a Python or a Basic script. Is this
normal?

Second problem : is it possible to provide arguments to a
script called 
from the command line ? (this question led to the first
problem)

Reference of thread <http://www.oooforum.org/forum/viewtopic.phtml?t=53705&g
t;

Regards
    Bernard

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )