Skip to content
Mettre à jour 02.linux examples authored by LibreOfficiant's avatar LibreOfficiant
## Default Instance
```python
import uno
def macro_1(): pass # Your code goes here
def macro_2(): pass # Your code goes here
g_exportedScripts = macro_1, macro_2 # *Office public macros
```
## Single instance
### officehelper.py module
```python
# officehelper module
......@@ -9,7 +21,7 @@ if __name__ == "__main__":
macro_2() # Run
```
## Single Instance
### {pgm: [accept, *options]} argument
```python
# LibreOffice Named Pipe
......@@ -21,5 +33,6 @@ if __name__ == "__main__":
macro_1() # Run
```
### JSON property file
## Multiple Instances
\ No newline at end of file