On 08.12.2013 13:23, Jörg Schmidt wrote:
Hello,
A long time ago I proposed already in OOo following:
There must be a way to create that, immediately after installing an extension,
a script, macro (or similar), which was installed along with the extension, it
is automatically started.
This would be important in order to let the authors of extensions to give the
opportunity custom initialization procedures for their extensions run.
The setting of this could be done description.xml in the file, for example:
<RunAfterInstall>
<ToRun
url="vnd.sun.star.script:myTools.mt_admin.initialisieren?language=Basic&location=application"/>
</ RunAfterInstall>
Two comments:
- The office is not necessarily running when an extension is installed.
In that case a post-installation job can not be run.
- Something similar to what you propose may already be possible. I am
not sure about the details, but I think that you can specify jobs to be
run on certain events (application start, document creation, etc). It
may be possible to specify a job to be run exactly once.
See
https://wiki.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Jobs/Jobs
for details.
-Andre
In my opinion the effort for the implementation would be low, and there would
be a great benefit for Authors of Extensions.
Is there a programmer could implement it?
What do you think?
Greetings,
Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]