When I wrote small programs in Pascal (different brands) I was used to have access to the commandline parameters/arguments appended to the call to the final executable. This was organised via the predefined function / variable ParamStr(Num: Word) and ParamCount. (ParamStr(0) returned the pathname of the executable itself.) The feature was essential for my work.
Is there any (hidden) feature for the purpose in soffice.exe accessible from BASIC?
VBA seems to provide the commandline via a slightly convoluted process getting a pointer (aliased as a number) first and needing to convert it to the string (access the string based on the pointer?).
Access to the parameters soffice.exe was called with
Access to the parameters soffice.exe was called with
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
---
Lupp from München
Re: Access to the parameters soffice.exe was called with
This might help
viewtopic.php?f=20&p=98460
viewtopic.php?f=20&p=98460
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS