Meow
I searched in OpenOffice help, but not found.
Is there in OpenOffice Basic any function returns environment variable?
For example: Tools / Options / Path / Templates.
In one macro I need this data: path to user templates.
Thankyou in advance and wish you juicy day.
Ponny
[Solved] User defined path in macro
[Solved] User defined path in macro
Last edited by MrProgrammer on Tue Sep 08, 2020 4:53 pm, edited 1 time in total.
Reason: Tagged ✓ [Solved]
Reason: Tagged ✓ [Solved]
MS Windows 10: OpenOffice 4.1.13; LibreOffice 7.3.5.2
Re: User defined path in macro
https://wiki.openoffice.org/wiki/Docume ... h_Settings
Code: Select all
oPathSettings = CreateUnoService( "com.sun.star.util.PathSettings" )
msgbox opathsettings.template
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)