Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


On 07/11/2016 11:31 AM, Jonathan Levi wrote:
I’ve started learning to create Python macros for LibreOffice, but I
need advice on where to put them. if I put them in
/Applications/LibreOffice.app/Contents/Resources/Scripts/python (I'm
using Mac OS X El Capitan, version 10.11.5, LibreOffice version
5.1.3.2, containing Python 3.5.0) they show up in the LibreOffice
Macros section in the Python Macros dialogue. This works, but I would
rather not insert them into the LibreOffice.app directory tree. Does
anyone know what folder corresponds to the My Macros section in the
Python Macros dialogue instead?


I don't know about a Mac but on Linux (Ubuntu) mine are in:

/home/jfb/.config/libreoffice/4/user/Scripts/python (note the dot in front of config, it's a hidden file).

When I put them there they show up in MyMacros when I go to Tools-->Macros-->Organize Macros-->Python.

Regards,  Jim


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.