To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=47376
                  Issue #:|47376
                  Summary:|nothing happend when calling a macro by API
                Component:|api
                  Version:|OOo 2.0 Beta
                 Platform:|PC
                      URL:|
               OS/Version:|Windows XP
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P1
             Subcomponent:|code
              Assigned to:|sw
              Reported by:|apeters





------- Additional comments from [EMAIL PROTECTED] Wed Apr 13 07:53:09 -0700 
2005 -------
There is a Problem with the DispatchHelper, because you cant execute a macro-
url with the executeDispatch function. Nothing happend when you make this. In 
the OO Version 1.1.4 the macro is running. When you call the same url by 
commandline "soffice macro:///Standard.Module1.ExampleMsgBox" it works. 

Example Code (written in Powerbuilder):
iole_oFrame = iole_objDocument.getCurrentController().getFrame()
iole_oDispatcher = iole_objServiceManager.createInstance 
( "com.sun.star.frame.DispatchHelper" )
iole_oDispatcher.executeDispatch ( 
iole_oFrame, 'macro:///Standard.Module1.ExampleMsgBox', "", 0, is_no_args[] )

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

Reply via email to