Originally posted by Venkatachalam Narayanan:
I have seen predefined events like Save etc on a Staroffice document. I want to execute a macro when ever I am sending a mail or when ever I am receiving a mail using Staroffice mail. How do I do that? Say for example, I want to check if I have attached at least 1 file before sending a mail or I want to get an "alert" when ever I get a new mail. I want to write my own fucntionalities for these? How and where should I do that? I would like a detailed reply with some sample code as well. Any early reply will be most appreciated.
Thanks
Venki.
Hi Venki,
I'm afraid I can give you neither a detailed reply nor sample code. You might not be able to get the info you want, actually. But here's a few sources to try if you're feeling energetic:
- The StarBasic section of the big black StarOffice book, Special Edition using StarOffice, does some stuff on macros. Werner Roth, a StarOffice guru, wrote that section.
- Werner's Web site might have some info.
http://www.wernerroth.de/en/staroffice/index.html - Try the StarOffice API. It's accessible through Explorer in StarOffice 5.2.
HTH,
Solveig
------------------
author of:
StarOffice Companion