Hi guys:
I work on a call center and everyday I aswer about 20 call with the exact requirements, so I
thought about making a macro to speed things up. The procedure is this, normally I copy some text
from a web page and paste it on a text document, I read the text to the client and write down the
answer (I.E: Phone line active?, yes).
I was reading Andrew Pitonyak’s OpenOffice.org Macros Explained (OOME) and on page 606 he
explains how to invoke a dialog from a macro. I don't know what I'm doing wrong but everytime I try
to run the macro to invoke the dialog I got "BASIC runtime error.An exception occurredType:
com.sun.star.container.NoSuchElementExceptionMessage: ." pointing to line 15
"DialogLibraries.loadLibrary("Template")"
What I'm trying to do is this, a macro to invoke a dialog with 3 buttons (Enable Services, Disable
Services, Call Retrieval). When I push a button I call another dialog with buttons that represent
all the questions a ask the clients (I.E, when I push "Enable Services" I invoke a dialog with all
the questions related to the process to enable aditional services "Phone line is active?", "What is
your OS?", "Do you have an AV installed?").
The use case is this, a call is answered, I take the personal data and then I execute the macro,
the macro call the dialog, in the dialog I click button "Enable Services" and it bring the second
dialog, when I click the buttons "Phone line is active?", "What is your OS?", "Do you have an AV
installed?" the macro should end and I should have writed down on the document the questions "Phone
line is active?", "What is your OS?", "Do you have an AV installed?"
I already design the dialogs, but I can't invoke the first dialog from the macro, or the following
dialogs after clicking the buttons, and I don't have any text written down on my document...
Any help on this is highly appreciated.
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
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
Context
- [libreoffice-users] Invoking a dialog from a macro to insert text into a Writer document · Angel Pérez
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.