Re: [api-dev] Returnvalues from Macros

2005-11-05 Thread Alexander Peters
G. Jasper wrote: Alexander Peters wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language will he

Re: [api-dev] Returnvalues from Macros

2005-11-05 Thread Alexander Peters
G. Jasper wrote: Alexander Peters wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language will he

Re: [api-dev] Returnvalues from Macros

2005-11-03 Thread G. Jasper
Alexander Peters wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language will help me. Greetings

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-03 Thread Tom Schindl
Jürgen Schmidt wrote: > Tom Schindl wrote: > >> Jürgen Schmidt wrote: >> >>> Hi Tom, [...] > I like the idea with the tabs for the different languages and think that > that would be realy cool to navigate. > > -Juergen > I'll take a look how at it on the weekend. tom signature.asc Descripti

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-03 Thread Jürgen Schmidt
Rony G. Flatscher wrote: Hi Jürgen, ... cut ... Which languages should we support? Which languages should not be supported? Should we maybe restructure our snippet-page not seperating our pages into programming languages but rather task. Jürgen already said that he'd like to have every snippe

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-03 Thread Jürgen Schmidt
Tom Schindl wrote: Jürgen Schmidt wrote: Hi Tom, Tom Schindl wrote: Hi, keep me up to date about when ooRex-LanguageBinding is released offically. We should more generally discuss what languages should be avaible on the snippet-page. At the moment the following ones are available on the

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Rony G. Flatscher
Hi Jürgen, ... cut ... Which languages should we support? Which languages should not be supported? Should we maybe restructure our snippet-page not seperating our pages into programming languages but rather task. Jürgen already said that he'd like to have every snippet in every language. I

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Rony G. Flatscher
Hi, keep me up to date about when ooRex-LanguageBinding is released offically. Will do. We should more generally discuss what languages should be avaible on the snippet-page. At the moment the following ones are available on the snippet-page: - OOBasic - C++ - Java - Python - XSL Others

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Tom Schindl
Jürgen Schmidt wrote: > Hi Tom, > > > Tom Schindl wrote: > >> Hi, >> >> keep me up to date about when ooRex-LanguageBinding is released >> offically. >> >> We should more generally discuss what languages should be avaible on the >> snippet-page. >> >> At the moment the following ones are availab

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Laurent Godard
Hi jurgen, Hi tom I think we should concentrate on the most popular and offical languages supported in OO.org. But let us see how many snippets will be contributed for other currrently not supported languages. We can extend the page later as well. +1 And of course having the snippets availa

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Jürgen Schmidt
Hi Tom, Tom Schindl wrote: Hi, keep me up to date about when ooRex-LanguageBinding is released offically. We should more generally discuss what languages should be avaible on the snippet-page. At the moment the following ones are available on the snippet-page: - OOBasic - C++ - Java - Python

[api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Tom Schindl
Hi, keep me up to date about when ooRex-LanguageBinding is released offically. We should more generally discuss what languages should be avaible on the snippet-page. At the moment the following ones are available on the snippet-page: - OOBasic - C++ - Java - Python - XSL Others I'm aware of but

Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-10-31 Thread Rony G. Flatscher
Hi Tom, maybe I've missed something and but is ooRex a seperate scripting language Yes! ooRexx is opensource and free and available pre-compiled for some Linuxes, Solaris and Windows; homepage: . (It is set up to work with autotools, so building for additional platfor

Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-10-31 Thread Thomas Schindl
Hi, maybe I've missed something and but is ooRex a seperate scripting language and if yes should we add it to our snippet collection. Tom > --- Ursprüngliche Nachricht --- > Von: "Rony G. Flatscher" <[EMAIL PROTECTED]> > An: dev@api.openoffice.org > Betreff

Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-10-31 Thread Rony G. Flatscher
Hi there, got a few more minutes, so enclosed you'll find the ooRexx version/rendering of the C++/Java version of invoking a script in another language, retrieve its return value and display it in the writer component: --- cut here -- oDesktop = UNO.cr

Re: [api-dev] Returnvalues from Macros

2005-10-31 Thread Rony G. Flatscher
would you have a Java rendering of that interesting code-snippets handy by any chance? ---rony Well, fulfilling my own request :) here's an example in Java of running a macro via the scripting framework: --- cut here -- class Test { public static void mai

Re: [api-dev] Returnvalues from Macros

2005-10-26 Thread Rony G. Flatscher
Hi Christian, I have taken the time to put a rudimentary C++ example together that uses the prei-installed GetProductname macro and gets its return value to insert the string into a freshly opened document. Note that I have cut done the complete thing and left out all kinds of checks (for NULL e

Re: [api-dev] Returnvalues from Macros

2005-10-26 Thread Christian Junker
Java > you need to invoke the ScriptingFramework don't you? > > So maybe the snippet should deal with calling a Macro from some UNO-Binding > e.g. C++, Java, Python, ... and fetching its return value. > > Tom > > > > --- Ursprüngliche Nachricht --- > >

Re: [api-dev] Returnvalues from Macros

2005-10-25 Thread Thomas Schindl
-- > Von: "G. Jasper" <[EMAIL PROTECTED]> > An: dev@api.openoffice.org > Betreff: Re: [api-dev] Returnvalues from Macros > Datum: Mon, 24 Oct 2005 19:45:46 +0200 > > Tom Schindl wrote: > > >-BEGIN PGP SIGNED MESSAGE- > >Hash: SHA1 > > &

Re: [api-dev] Returnvalues from Macros

2005-10-24 Thread Matthias Benkmann
On 10/25/05, Christian Junker <[EMAIL PROTECTED]> wrote: > 2005/10/24, Matthias Benkmann <[EMAIL PROTECTED]>: > > ATTENTION: Not every XScriptProvider can resolve every script URI! For > > instance the script provider returned by a TextDocument's > > XScriptProviderSupplier can't resolve script URI

Re: [api-dev] Returnvalues from Macros

2005-10-24 Thread Christian Junker
Hi Matthias, first of all thanks for your information about this, so it seems as if the Scripting Framework now actually provides a way to call across scripting languages with the implemented feature of transporting values back to the calli. 2005/10/24, Matthias Benkmann <[EMAIL PROTECTED]>: > AT

Re: [api-dev] Returnvalues from Macros

2005-10-24 Thread G. Jasper
Tom Schindl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Benkmann wrote: On 10/17/05, Alexander Peters <[EMAIL PROTECTED]> wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i

Re: [api-dev] Returnvalues from Macros

2005-10-24 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Benkmann wrote: > On 10/17/05, Alexander Peters <[EMAIL PROTECTED]> wrote: > >>Hello! >>I use OLE to connect to OpenOffice.org Writer and want to get >>Returncodes from Macros which i execute with a dispatcher. How can i >>make this? Or is th

Re: [api-dev] Returnvalues from Macros

2005-10-23 Thread Matthias Benkmann
On 10/17/05, Alexander Peters <[EMAIL PROTECTED]> wrote: > Hello! > I use OLE to connect to OpenOffice.org Writer and want to get > Returncodes from Macros which i execute with a dispatcher. How can i > make this? Or is there an other way to execute macros to get a > returnvalue? Any Codesnip in an

Re: [api-dev] Returnvalues from Macros

2005-10-22 Thread Christian Junker
I need to clarify, that I meant calling macros along with getting their return values. 2005/10/22, Christian Junker <[EMAIL PROTECTED]>: > Unfortunately there is currently no way to call macros across > UNO-supported languages as far as I know -- Best Regards Christian Junker ---

Re: [api-dev] Returnvalues from Macros

2005-10-22 Thread G. Jasper
Alexander Peters wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language will help me. Gr

Re: [api-dev] Returnvalues from Macros

2005-10-22 Thread Christian Junker
Hi Alexander, 2005/10/22, Alexander Peters <[EMAIL PROTECTED]>: > >A dispatched macro can't return a value. > > > > > And which makro can return a value? what Matthias meant with "dispatched" is, that it was called using css::frame::XDispatchHelper. Unfortunately there is currently no way to call

Re: [api-dev] Returnvalues from Macros

2005-10-22 Thread Alexander Peters
Mathias Bauer wrote: Alexander Peters wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language w

Re: [api-dev] Returnvalues from Macros

2005-10-20 Thread Mathias Bauer
Alexander Peters wrote: > Hello! > I use OLE to connect to OpenOffice.org Writer and want to get > Returncodes from Macros which i execute with a dispatcher. How can i > make this? Or is there an other way to execute macros to get a > returnvalue? Any Codesnip in any language will help me. A di

Re: [api-dev] Returnvalues from Macros

2005-10-17 Thread Alexandro Colorado
On Mon, 17 Oct 2005 19:04:44 +0100, Alexander Peters <[EMAIL PROTECTED]> wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnv

[api-dev] Returnvalues from Macros

2005-10-17 Thread Alexander Peters
Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language will help me. Greetings Alexander Peters ---