> Thanks, cottonm. It would be great if you can provide
> some helpful links, because most of the stuff on
> Google(which I used before posting this message), was
> on VB Script and not on Java. And please can you be a
> bit careful in the selection of the words.
http://www.oooforum.org/forum/viewforum.phtml?f=9
http://user-faq.openoffice.org/faq/ar01s11.html#id2876053
We can assign custom scripts (macros) to menu items, icons, dialog controls, and events in OpenOffice.org.
OpenOffice.org internally supports the following scripting languages:
1.OpenOffice.org Basic
2.JavaScript
3.BeanShell
In addition, developers can use high-level languages, for example Java programming language, to control OpenOffice.org externally. See the API project at OpenOffice.org.