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.
ps: some code follow
oList = createUnoListener("TopW_", "com.sun.star.awt.XTopWindowListener")
oToolkit = srcDoc.getCurrentController().getFrame().getContainerWindow().getToolkit()
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
'On Error GoTo 0
For unsubscribe instructions e-mail to: email@example.com
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
- [libreoffice-users] Suggestion for macro · muu.7oo
Impressum (Legal Info)
: 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