https://bugs.documentfoundation.org/show_bug.cgi?id=104441
Bug ID: 104441
Summary: There is no documentation in the help on how to open a
file and automatically run a macro
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
Description:
The format to automatically run a macro when opening a document via the command
line is missing from the LibreOffice help. This is needed to automate workflows
using scripts.
Steps to Reproduce:
1.Look in the help
2.Not present
3.
Actual Results:
<no results>
Expected Results:
Suggested text: To run a macro on startup from the command line or a script the
format is soffice FileName macro:///Path.To.Macro
FileName is the full file name of the document/spreadsheet
Path.To.Macro is the full path to the macro as seen in the LireOffice Basic
Macros dialog window.
So an example to open a spreadsheet and execute a macro named Startup in
Module1 would be:
soffice MyFile.ods macro:///Standard.Module1.Startup
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101
Firefox/48.0
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs