Hello, Based on some work that was done by http://www.linuxjournal.com/content/starting-stopping-and-connecting-openoffice-python I've created a ootools package that allows you to start openoffice in just 2 lines of python code. It requires openoffice -headless and oo2.4+. Install it and give it a try.
---How to install it --- easy_install ootools or sudo easy_install ootools -- How to use it -- python import ootools oor=ootools.OORunner() oor.start() # open office headless should start on port 8100. #Check using command: netstat -atpen | grep soffice #To stop it do: oor.stop() -- How to get desktop object -- import ootools oor=ootools.OORunner() oor.start() desktop=oor.connect() #Do something with the desktop. #When done oor.close() Give it a try and let me know. It works correctly under Debian lenny 32bit. What os you have system, path to open office,etc. Thanks, Lucas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@udk.openoffice.org For additional commands, e-mail: dev-h...@udk.openoffice.org