easymacro.py it's a library for easily develop macros en LibreOffice con Python.
It is an abstraction layer between the extensive and complex LibreOffice API UNO and your code.
Probably, your will be more happy if used it. :)
You can used easymacro.py with any extension or directly in your macros.
- Download latest version from this repository, or clone this repository (recommended).
- Copy file into
pythonpathdirectory in your user macros.
- Copy and paste next macro in your library macros.
import uno import easymacro as app def test_easymacro(): app.msgbox(app.INFO_DEBUG) return
- If you see an similar image. Congratulations!