Hi Jurgen thank you, i will try it out. i found "OnStartApp" event in the dev
guide. Can it be used to accomplish what i want to do.
With Regards
Bharathy B
Jürgen Schmidt <[EMAIL PROTECTED]> wrote:
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]
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
starting at 1¢/min.