I'm happy to report that I made a misstake.. (not that many can say that
they are happy for their own misstakes)

I've just discovered that the docname variable was filled with the wrong
docname, this was a change I made earlier during my tests with the
scriptprovider that I just happened to find now..

anyway using the below code do work for me now

I'm sorry that you ahve taken your time to help me with this,
cosnidering it was my mistake to beginn with..


Christian Andersson wrote:
> 
> just to make sure, I tried the code from within openoffice (in starbasic)
> 
>     oDispatcher.executeDispatch
> Thiscomponent.getCurrentController().getFrame(),
> "macro://"+docname+"/Standard.Main.test()", "", 0, Array()
> 
> this works as expeted, the test function was called
> when running this line

-- 
Christian Andersson - [EMAIL PROTECTED]

Configuration and Collaboration for OpenOffice.org
Open Framework Systems AS http://www.ofs.no

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to