We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

How to Execute a Java or Python Macro [closed]

asked 2014-10-20 01:28:10 +0200

Steve R. gravatar image

updated 2016-03-05 09:15:22 +0200

Alex Kemp gravatar image

I have LibreOffice on Ubuntu. It appears that LibreOffice stores Java and Python macros in subdirectories under the following directory. /usr/lib/libreoffice/share/Scripts

When I open a control in a Base project I can “see” what appears to be the sample Java macros under the “LibreOfficeMacros” tab, but they do not execute. The Python sample macros are not visible, under the “LibreOfficeMacros” tab. The sample macros in /usr/lib/libreoffice/share/Scripts are not visible from the "organize macro. LibreOffice" tab.

There was a prior solved post on this forum Where are my python macros? Along with a similar StackOverflow response. These solutions did not not result in the Python macro script becoming visible for me.

Also see: Python as a macro language

How can LibreOffice be configured to display and execute those macros?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Alex Kemp
close date 2016-03-05 09:15:37.062926

1 Answer

Sort by » oldest newest most voted

answered 2014-10-20 08:22:28 +0200

karolus gravatar image


does my Answer here help ??


edit flag offensive delete link more


Yes. it answered how to access the macros located in: /usr/lib/libreoffice/share/Scripts

Steve R. gravatar imageSteve R. ( 2014-10-20 14:12:53 +0200 )edit

Question Tools

1 follower


Asked: 2014-10-20 01:28:10 +0200

Seen: 1,535 times

Last updated: Oct 20 '14