bharathy b wrote:
hi i want to know how can i invoke an timer automatically whenever an 
openoffice document is opened. After the timer is invoked ,  the timer should 
repeatedly check if any openoffice documents are open and write the filepath of 
the active document into a log file.
I have found the java program which gets the filepath of the active document and writes to the log file. The timer continuosly checks for every 10s if any files are opened and gets the filepath.
  But i have to run the program manually.I dont want to run the program 
manually.
I want to know how can i automatically do this whenever openoffice is opened.
  Please help in this regard...

you can implement a job add-on (see the SDK examples) which is started when the office is started and do your loggin stuff from there or you can at least trigger another object/component or whatever which does the logging.

Juergen

With Regards,
  Bharathy B
                
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs.Try it free.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to