To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113507
User shrib changed the following:
What |Old value |New value
================================================================================
Status|UNCONFIRMED |RESOLVED
--------------------------------------------------------------------------------
Resolution| |INVALID
--------------------------------------------------------------------------------
------- Additional comments from [email protected] Thu Jul 29 17:16:41 +0000
2010 -------
My previous Basic macro was using DispatchHelper which may not work in headless
mode. Using this Basic macro worked.
Sub CallFoo
Dim scriptPro As Object, myScript As Object
scriptPro = ThisComponent.getScriptProvider()
myScript =
scriptPro.getScript("vnd.sun.star.script:stub.py$foo?language=Python&location=document")
myScript.invoke(Array(), Array(), Array() )
End Sub
It would be nice if OOo had better behavior when you used the DispatchHelper in
headless mode - like existing with some defined exit code, logging the error,
etc. It would have saved me a lot of time. But I guess that is a minor issue.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
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]