I would like to know how to import this macro ( InternetSearch2.odt ) so it works for all of my Writer documents. So far, it only works when I open the macro directly into Writer. Thank you.
The explanation is in the last paragraph of the answer. The macro needs to be copied into the Standard
library under MyMacros
. It can be in any module under the Standard library there. The Standard library is loaded automatically when LibreOffice is started.
Just re-tested and works for me Currently on Ubuntu 20.04 Mate with LO v6.4.5.2 and tested with Firefox as default.
I did see that last paragraph you mention and tried to figure it out. I am assuming one copies the maco file into a folder thru either the Windows or Linux folder system. I am using Windows 10 64 bit and cannot find the folder called My Macros. If my approach is correct, pls let me know where I can find that folder. If my approach is not correct, please instruct otherwise. Thanks.
Best if you look at the documentation → here. See Getting Started with LibreOffice
section and look at Chapter #13 - Getting Started with Macros.
Thanks for the lead and your time. I am sure I will figure it out. Just needed a point in the right direction. Good to hear it also works in Linux as I’m a fan of Lubuntu. I may switch permanently someday soon. Cheers.