DannyB Moderator


Joined: 02 Apr 2003 Posts: 3991 Location: Lawrence, Kansas, USA
|
Posted: Thu Nov 06, 2003 7:37 pm Post subject: FYI...new macro to make OOo listen for UNO connections |
|
|
Announcement of a new macro.
If you write a program in Java or Python to connect to OOo, you first need to get OOo to listen for uno connections.
One way to get OOo to listen is by launching it with an -accept parameter....
.\soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.NamingService"
Another way is to alter OOo's configuration. I previously discussed in the posting right here
http://www.oooforum.org/forum/viewtopic.php?p=12370#12370
how to hand edit some text configuration files to make OOo always listen for an uno connection.
Now there is a macro that does this configuration for you automatically. The macro does not edit the text files, rather, it uses the Configuration Manager API to alter OOo's configuration.
This macro is useful in several ways...
1. A quick easy way to change a hidden configuration aspect of OOo that is not brought out in any of OOo's User Interface.
2. A programming example of using the configuration manager.
and perhaps most importantly...
3. A document that you can distribute with a Java or Python program that makes it EASY for an end user to make this difficult configuration change to their OOo.
You can get the macro at OOoMacros.org. It is named UnoConnectionListener. Click here...
http://sourceforge.net/project/showfiles.php?group_id=87718&release_id=195647
then scroll down to UnoConnectionListener.
Hope someone finds this useful. _________________ Want to make OOo Drawings like the colored flower design to the left? |
|