Hi Larry, On Sat, Mar 02, 2013 at 03:46:42PM -0600, Larry Evans wrote: > The script is attached. > > The OpenOffice version is(from the about button): > > OpenOffice.org 3.2.0 > OOO320m12 (Build:9483)
This is too old. > The OS is: > > Linux evansl-desktop 2.6.32-41-generic #90-Ubuntu SMP Tue May 22 > 11:29:51 UTC 2012 x86_64 GNU/Linux > > The steps: > > 1) Open simple_script1.ods > 2) Tools>Macros>Organize Macros>BeanShell>Standard>NumberFive.bsh > 3) Enter the attached into the Edit window > 4) Press Save button at bottom of Edit window. > > There then appears an Error window with: > > Error saving script: > com.sun.star.ucb.iInteractiveAugmentedIOException: Got no data > stream! I couldn't reproduce this, because I don't have simple_script1.ods, but with 3.4.1 I was able to create a script, save it, assign it to an event, etc. > What should I do to Save this script. May be try with a newer version (you can try it without installing it). > Also, eventually, I'll want to use this script in a formula. I'd like > guidance on how to do that. Do you want to use it as a Function, just like you can do it with Basic macros, or to manipule the document? We have a dedicated mailing list for programing, scripting, API, extension, etc.: a...@openoffice.apache.org Regards -- Ariel Constenla-Haile La Plata, Argentina
pgptSPua2n2AZ.pgp
Description: PGP signature