https://bugs.documentfoundation.org/show_bug.cgi?id=99541

--- Comment #4 from Fred Hamilton <[email protected]> ---
The instructions for reproducing the bug will not work with the original
example.py.  I was launching from a button on my toolbar.  When launched from
toolbar, main function needs an argument: def StartHere(dummy):

When launched via menu, main function requires no argument: def StartHere():

To reproduce, use new example_menu_launch.py file
Steps to reproduce:
1) put example_menu_launch.py in ~/.config/libreoffice/4/user/Scripts/python
directory
2) open up an empty/new calc document
3) run this script as a macro (Tools/Macro/Run Macro/Macro Selector/My
Macros/example_menu_launch/StartHere)

-- 
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

Reply via email to