469,568 Members | 1,436 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,568 developers. It's quick & easy.

Ooo 3.0 Python user macros

Has anyone been able to run user-defined Python macros in OpenOffice.org
3.0? I had one in ~/.ooo-2.0/user/Scripts/python/try.py which did work
under Ooo2.x. So I put the same thing in ~/.ooo3/user/Scripts/python/, but
it will not show up in any macro dialog in Ooo 3.0.

The provided example macros seem to work: under the "Tools -Macros ->
Organize Macros -Python..." menu, there is an entry named "OpenOffice.org
Macros", and I can run the macros that are listed in there. So that
suggests the basic Ooo 3.0 Python macro system is functional.

Thanks for any suggestions.
Oct 15 '08 #1
1 1689
In message <gd**********@lust.ihug.co.nz>, Lawrence D'Oliveiro wrote:
The provided example macros seem to work: under the "Tools -Macros ->
Organize Macros -Python..." menu, there is an entry named
"OpenOffice.org Macros", and I can run the macros that are listed in
there. So that suggests the basic Ooo 3.0 Python macro system is
functional.
I copied my test script
to /usr/lib/openoffice/basis3.0/share/Scripts/python/ and it appeared in
the "OpenOffice.org Macros" section, and I could select it and it ran just
fine.

So the problem is quite clearly that it's not looking in the
~/.ooo3/user/Scripts/python/ directory for scripts to run.
Oct 17 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Gary | last post: by
220 posts views Thread by Brandon J. Van Every | last post: by
699 posts views Thread by mike420 | last post: by
37 posts views Thread by michele.simionato | last post: by
267 posts views Thread by Xah Lee | last post: by
852 posts views Thread by Mark Tarver | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.