- Python scripts Organization and Location
+ Python Scripts Organization and LocationThe Python script files are stored in the file system, in folders controlled by %PRODUCTNAME. The macros can be stared at installation, user or file level.
@@ -25,13 +25,13 @@
%PRODUCTNAME Macros container
Existing macros in this location (container) were copied by the installation program and are available to every computer user, and any open document can access macros stored the container. You need administrative rights to store or edit macros here.
- The LibreOfficeDev Macros container location in the file system depends on the operating system:
+ The %PRODUCTNAME Macros container location in the file system depends on the operating system:
- For Windows, C:\Program Files (x86)\LibreOffice\Basis\share\Scripts\python.
+ For Windows, C:\Program Files (x86)\LibreOffice\Basis\share\Scripts\python.
- For Linux and macOS, in $(Installation)/share/Scripts/python.
+ For Linux and macOS, $(Installation)/share/Scripts/python.
My Macros
@@ -39,10 +39,10 @@
The My Macros container location is in the user space and depends on the operating system:
- For Windows, in C:\Users\current-user\AppData\Roaming\libreoffice\4\user\Scripts\python.
+ For Windows, C:\Users\current-user\AppData\Roaming\libreoffice\4\user\Scripts\python.
- For Linux and macOS, in $(HOME)/.config/libreoffice/4/user/Scripts/python.
+ For Linux and macOS, $(HOME)/.config/libreoffice/4/user/Scripts/python.
Document macros
@@ -55,5 +55,8 @@
A module is a python file in the library or the container. Create a module adding a file in the container.