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.

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.

Cheers
-- Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to