Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

Hi all,
this is my first post so I want to congratulate for the project and the efforts given to it.

I'm writing a merge script for impress slide, based on some Basic code found on various forums. It works but I find difficulties in handling the prompt asking to adapt the slides to the presentation where they are merged.
I want to macro-click "Yes"

I try handling it by an event from TopWindow but I can't get useful debug information (using MRI loops triggering window open and log to file is not useful either) so I'm stuck.

Can someone kindly suggest me a way to handle the "click Yes" or references to docs?

Thanks in advance.

Best Regards,

ps: some code follow

Sub doMerge()


oList         = createUnoListener("TopW_", "")

oToolkit   = srcDoc.getCurrentController().getFrame().getContainerWindow().getToolkit()



End Sub

Sub TopW_windowOpened(e as Object)

On Error Goto ErrorHandler

    oACWin = e.source.AccessibleContext

    'mriLog(oACWin) '# this loop, I think
    'wLog( oACWin.getAccessibleChild(0) )

    oAC_Yes = oACWin.getAccessibleChild(0).AccessibleContext

    oAC_No  = oAC.getAccessibleChild(1).AccessibleContext



    Exit Sub

'On Error GoTo 0

End Sub

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.