Hello Jan,
On Monday 24 August 2009, 17:28, Jan Holst Jensen wrote:
> Ariel Constenla-Haile wrote:
> > the quickstarter listens for desktop termination.
> > AFAIK you have to options
> >
> > 1) You can tell it not to throw a veto, this way:
> >
> > Sub Quickstater
> > Dim oQS as Object
> > oQS = CreateUnoService("com.sun.star.office.Quickstart")
> > oQS.setFastPropertyValue(0, FALSE)
> > End Sub
>
> Hi Ariel.
>
> Thanks. Tried it out and it works as you describe. However, if I don't
> have any documents open and I only want to close the Quickstarter
> itself, it seems that I first need to open a document and then ask that
> to close to get the Quickstarter to go away (?). That might work, but
> seems a little cumbersome.
>
> > 2) fully disabling it, closing it if opened:
> >
> > Sub Quickstater
> > Dim oQS as Object
> > oQS = CreateUnoService("com.sun.star.office.Quickstart")
> >
> > Dim aAny(1)
> > aAny(0) = False
> > aAny(1) = False
> >
> > oQS.initialize(aAny)
> > End Sub
>
> It does disable the Quickstarter in the sense that it won't be started
> next time I log on, but the Quickstarter does not exit on my machine
> (running the released OOo 3.1). So - doesn't really work for me, and I
> don't want the Quickstarter disabled, just all of OpenOffice closed
> before I install an extension.
ups I also forgot to mention that only used this on Linux, and as you could
see in the source, the implementation is system-dependent (there is a
quickstarter for Win, another for Mac, and another for Linux-Gnome), and it
seems they behave different.
> However, your later post that included links to the source gave me a
> solution. I will respond to that later post with what I found.
yes, please post what you find on Windows (it may help others looking for a way
to control the quickstarter ... as Jürgen said, an API for this would be the
optimal solution).
Regards
--
Ariel Constenla-Haile
La Plata, Argentina
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]