Hello everyone,
I’ve developed an extension that displays a dialog box. When I run the macro from the LibreOffice menu (created during the extension installation), everything works perfectly.
However, I’ve also created a Windows shortcut to launch this macro, and that’s where the issues arise. (“C:\Program Files\LibreOffice\program\soffice.exe” “macro:///mymacro.init.executeMacro”).
If LibreOffice is already running, the dialog box prevents new documents (Calc, Writer, etc.) from opening until it is closed.
On the other hand, if LibreOffice was not running before executing the shortcut, the macro works as expected.
Does anyone have an idea how to fix this issue?
Thanks